summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2017-08-12 14:07:34 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2017-08-12 14:07:34 +0000
commit66e99b0a29bb44203a4c09e32e7a9e0ce9decb96 (patch)
tree617d09b087dd67aacc14e54ab4feef3c47dd2eb3 /usr.sbin
parentf89d333c234ee914febf2481df997dd9112dbf85 (diff)
Fix Coverity CID 1453280:
iwm(4) firmware could cause an out of bounds read of the ic->ic_channels array by lying about the channel a frame was received on. This array index is now properly bounds-checked. Not an errata-worthy fix, since the firmware has full DMA access anyway. While here, I noticed another problem: Stop assigning a firmware-derived value to ni->ni_chan. The Rx interrupt handler has no business tweaking that pointer. ok mpi@
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions