linux/drivers/net/wireless/iwmc3200wifi
Dan Carpenter 5a5ee76e09 iwmc3200wifi: add some more range checks
My previous patch added a check to get_key() but missed a couple
other places which need range checks.

The problem here is that wifi drivers have different numbers of keys.
The lower levels assume that they can have up to 4 default keys and
2 management keys but this driver only has the default keys so we
could go past the end of the ->keys[] array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-11-08 15:53:59 -05:00
..
bus.h
cfg80211.c iwmc3200wifi: add some more range checks 2011-11-08 15:53:59 -05:00
cfg80211.h
commands.c
commands.h
debug.h
debugfs.c
eeprom.c
eeprom.h
fw.c drivers/net: Remove unnecessary semicolons 2011-06-05 14:33:40 -07:00
fw.h
hal.c Fix common misspellings 2011-03-31 11:26:23 -03:00
hal.h
iwm.h
Kconfig
lmac.h
main.c
Makefile
netdev.c iwmc3200wifi: Return proper error for iwm_if_alloc 2011-01-13 15:46:44 -05:00
rx.c cfg80211: Use consistent BSS matching between scan and sme 2011-05-19 10:37:18 -04:00
rx.h
sdio.c
sdio.h
trace.c
trace.h
tx.c Fix common misspellings 2011-03-31 11:26:23 -03:00
umac.h