mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 14:05:19 +08:00
5a5ee76e09
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> |
||
---|---|---|
.. | ||
bus.h | ||
cfg80211.c | ||
cfg80211.h | ||
commands.c | ||
commands.h | ||
debug.h | ||
debugfs.c | ||
eeprom.c | ||
eeprom.h | ||
fw.c | ||
fw.h | ||
hal.c | ||
hal.h | ||
iwm.h | ||
Kconfig | ||
lmac.h | ||
main.c | ||
Makefile | ||
netdev.c | ||
rx.c | ||
rx.h | ||
sdio.c | ||
sdio.h | ||
trace.c | ||
trace.h | ||
tx.c | ||
umac.h |