f9a703e173
Smatch complains that "key_index" is capped at 5 in nl80211_get_key() but iwm->keys[] only has 4 elements. I don't know if this is really needed, but the other ->get_key() implementations seemed to check for overflows so I've added a check here. 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 |