diff options
author | David Kilroy <kilroyd@googlemail.com> | 2009-02-21 16:52:54 +0000 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:53:02 -0500 |
commit | 3faa19cd9dfac30aa08bc311ddbd62ee5ccc0d85 (patch) | |
tree | 7ae57a23a92f4d38580c953a2a4125072b3261ad /net/mac80211 | |
parent | 7e57811ac5b595bdb53f2aef3bcb2b3d72663fa4 (diff) | |
download | op-kernel-dev-3faa19cd9dfac30aa08bc311ddbd62ee5ccc0d85.zip op-kernel-dev-3faa19cd9dfac30aa08bc311ddbd62ee5ccc0d85.tar.gz |
orinoco: prevent accessing memory outside the firmware image
Do this by indicating the end of the appropriate regions of memory.
Note that MAX_PDA_SIZE should only apply to the PDA block read from
flash/EEPROM, and has been erronously applied to the pdr elements.
Remove the macro, and use the actual PDA size passed down by the caller.
We also fix up some of the types used, marking as much as possible
const, and using void* for the end pointers.
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions