linux-stable-rt/drivers/staging/rtl8712
Larry Finger 447ff88652 staging: r8712u: Fix possible out-of-bounds index with TKIP and AES keys
Array XGrpKey has only 2 elements and uses (keyid - 1) as the index, which
allows the possibility of memory corruption from an out-of-bounds index.

This problem was reported by a new version of smatch.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-10-11 10:02:49 -06:00
..
Kconfig staging: r8712u: Merging Realtek's latest (v2.6.6). Tx aggregation. 2011-09-06 17:00:35 -07:00
Makefile
TODO
basic_types.h
big_endian.h
drv_types.h staging: r8712u: Merging Realtek's latest (v2.6.6). tx: NULL _in_ spin lock. 2011-09-06 17:00:34 -07:00
ethernet.h
generic.h
hal_init.c staging: r8712u: include module.h where needed 2011-10-04 10:37:06 -07:00
ieee80211.c staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
ieee80211.h staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
if_ether.h
ip.h
little_endian.h
mlme_linux.c
mlme_osdep.h
mp_custom_oid.h
os_intfs.c staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
osdep_intf.h
osdep_service.h staging: r8712u: Merging Realtek's latest (v2.6.6). Updated include directives. 2011-09-06 17:00:32 -07:00
recv_linux.c staging: r8712u: Merging Realtek's latest (v2.6.6). Updated include directives. 2011-09-06 17:00:32 -07:00
recv_osdep.h
rtl871x_byteorder.h
rtl871x_cmd.c staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
rtl871x_cmd.h staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
rtl871x_debug.h
rtl871x_eeprom.c
rtl871x_eeprom.h
rtl871x_event.h
rtl871x_ht.h
rtl871x_io.c
rtl871x_io.h
rtl871x_ioctl.h
rtl871x_ioctl_linux.c staging: r8712u: Most return-values changed from -1 to proper errno macros. 2011-09-06 17:00:36 -07:00
rtl871x_ioctl_rtl.c
rtl871x_ioctl_rtl.h
rtl871x_ioctl_set.c staging: r8712u: Most return-values changed from -1 to proper errno macros. 2011-09-06 17:00:36 -07:00
rtl871x_ioctl_set.h staging: r8712u: Most return-values changed from -1 to proper errno macros. 2011-09-06 17:00:36 -07:00
rtl871x_led.h
rtl871x_mlme.c staging: r8712u: Fix possible out-of-bounds index with TKIP and AES keys 2011-10-11 10:02:49 -06:00
rtl871x_mlme.h staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
rtl871x_mp.c
rtl871x_mp.h staging: r8712u: Merging Realtek's latest (v2.6.6). Removed redundant .mem. 2011-09-06 17:00:32 -07:00
rtl871x_mp_ioctl.c
rtl871x_mp_ioctl.h staging: r8712u: Merging Realtek's latest (v2.6.6). No power tracking OID. 2011-09-06 17:00:33 -07:00
rtl871x_mp_phy_regdef.h
rtl871x_pwrctrl.c
rtl871x_pwrctrl.h
rtl871x_recv.c staging: r8712u: Tracking kmemleak false positives. 2011-09-06 17:00:35 -07:00
rtl871x_recv.h
rtl871x_rf.h
rtl871x_security.c staging: r8712u: Merging Realtek's latest (v2.6.6). Updated include directives. 2011-09-06 17:00:32 -07:00
rtl871x_security.h
rtl871x_sta_mgt.c
rtl871x_wlan_sme.h
rtl871x_xmit.c staging: r8712u: Merging Realtek's latest (v2.6.6). tx: NULL _in_ spin lock. 2011-09-06 17:00:34 -07:00
rtl871x_xmit.h staging: r8712u: Merging Realtek's latest (v2.6.6). Tx aggregation. 2011-09-06 17:00:35 -07:00
rtl8712_bitdef.h
rtl8712_cmd.c staging: r8712u: Merging Realtek's latest (v2.6.6). Updated include directives. 2011-09-06 17:00:32 -07:00
rtl8712_cmd.h staging: r8712u: Merging Realtek's latest (v2.6.6). New decl's and defines. 2011-09-06 17:00:35 -07:00
rtl8712_cmdctrl_bitdef.h
rtl8712_cmdctrl_regdef.h
rtl8712_debugctrl_bitdef.h
rtl8712_debugctrl_regdef.h
rtl8712_edcasetting_bitdef.h
rtl8712_edcasetting_regdef.h
rtl8712_efuse.c staging: r8712u: Merging Realtek's latest (v2.6.6). Rework efuse data handling. 2011-09-06 17:00:34 -07:00
rtl8712_efuse.h
rtl8712_event.h
rtl8712_fifoctrl_bitdef.h
rtl8712_fifoctrl_regdef.h
rtl8712_gp_bitdef.h
rtl8712_gp_regdef.h
rtl8712_hal.h
rtl8712_interrupt_bitdef.h
rtl8712_io.c
rtl8712_led.c staging: r8712u: Merging Realtek's latest (v2.6.6). Redundant NULL check. 2011-09-06 17:00:31 -07:00
rtl8712_macsetting_bitdef.h
rtl8712_macsetting_regdef.h
rtl8712_powersave_bitdef.h
rtl8712_powersave_regdef.h
rtl8712_ratectrl_bitdef.h
rtl8712_ratectrl_regdef.h
rtl8712_recv.c staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
rtl8712_recv.h staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
rtl8712_regdef.h
rtl8712_security_bitdef.h
rtl8712_spec.h
rtl8712_syscfg_bitdef.h
rtl8712_syscfg_regdef.h
rtl8712_timectrl_bitdef.h
rtl8712_timectrl_regdef.h
rtl8712_wmac_bitdef.h
rtl8712_wmac_regdef.h
rtl8712_xmit.c staging: r8712u: Merging Realtek's latest (v2.6.6). Tx aggregation. 2011-09-06 17:00:35 -07:00
rtl8712_xmit.h staging: r8712u: Merging Realtek's latest (v2.6.6). Tx aggregation. 2011-09-06 17:00:35 -07:00
sta_info.h staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
swab.h
usb_halinit.c
usb_intf.c staging: r8712u: include module.h where needed 2011-10-04 10:37:06 -07:00
usb_ops.c
usb_ops.h
usb_ops_linux.c staging: r8712u: Merging Realtek's latest (v2.6.6). Various fixes. 2011-09-06 17:00:35 -07:00
usb_osintf.h staging: r8712u: Merging Realtek's latest (v2.6.6). stop_drv_timers moved. 2011-09-06 17:00:33 -07:00
usb_vendor_req.h
wifi.h
wlan_bssdef.h
xmit_linux.c staging: r8712u: Merging Realtek's latest (v2.6.6). tx: NULL _in_ spin lock. 2011-09-06 17:00:34 -07:00
xmit_osdep.h staging: r8712u: Merging Realtek's latest (v2.6.6). tx: NULL _in_ spin lock. 2011-09-06 17:00:34 -07:00