linux-sg2042/drivers/staging/rtl8712
Larry Finger 8b7a13c3f4 staging: r8712u: Fix possible buffer overrun
In routine r8712_report_sec_ie(), the code could set the length
of the buffer to 256; however, that value is one larger than the
corresponding memory allocation.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-28 08:49:21 -08:00
..
Kconfig staging: r8712u: Add missing initialization and remove configuration parameter CONFIG_R8712_AP 2012-02-10 09:57:28 -08:00
Makefile
TODO
basic_types.h staging: r8712u: Merging Realtek's latest (v2.6.6). Copyright banners. 2011-09-06 17:00:29 -07:00
drv_types.h staging: r8712u: Remove defines that are not used 2012-09-04 14:14:08 -07:00
ethernet.h staging: r8712u: use is_broadcast_ether_addr() to simplify the code 2012-09-04 14:03:40 -07:00
hal_init.c staging: delete all duplicated endian crap from rtl8712 driver 2012-05-10 13:10:03 -04: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: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
mlme_linux.c staging: r8712u: Fix possible buffer overrun 2012-11-28 08:49:21 -08:00
mlme_osdep.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
mp_custom_oid.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
os_intfs.c staging: rtl8712: remove assignment of 0 to a static global variable 2012-09-26 09:23:31 -07:00
osdep_intf.h staging: r8712u: Merging Realtek's latest (v2.6.6). Copyright banners. 2011-09-06 17:00:29 -07:00
osdep_service.h staging: delete all duplicated endian crap from rtl8712 driver 2012-05-10 13:10:03 -04:00
recv_linux.c staging: r8712u: fix bug in r8712_recv_indicatepkt() 2012-09-10 15:58:31 -07:00
recv_osdep.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl871x_cmd.c staging: r8712u: cleanup pointer type in r8712_setassocsta_cmd() 2012-10-26 09:36:06 -07:00
rtl871x_cmd.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl871x_debug.h staging: r8712u: Merging Realtek's latest (v2.6.6). Copyright banners. 2011-09-06 17:00:29 -07:00
rtl871x_eeprom.c
rtl871x_eeprom.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl871x_event.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl871x_ht.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl871x_io.c staging: r8712u: Simplify semaphores 2012-02-09 09:12:55 -08:00
rtl871x_io.h staging: rtl8712: Fix typo in rtl871x_io.h 2012-05-15 17:58:30 -07:00
rtl871x_ioctl.h
rtl871x_ioctl_linux.c staging: r8712u: fix potential NULL pointer dereference in r871x_wps_start() 2012-10-22 13:30:01 -07:00
rtl871x_ioctl_rtl.c staging: rtl8712: fixed coding style issues 2011-04-20 14:13:31 -07:00
rtl871x_ioctl_rtl.h staging: r8712u: Merging Realtek's latest (v2.6.6). Copyright banners. 2011-09-06 17:00:29 -07:00
rtl871x_ioctl_set.c staging: r8712u: use is_broadcast_ether_addr() to simplify the code 2012-09-04 14:03:40 -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 staging: r8712u: Merging Realtek's latest (v2.6.6). Copyright banners. 2011-09-06 17:00:29 -07:00
rtl871x_mlme.c staging: r8712u: rtl871x_mlme.c: use is_zero_ether_addr() instead of memcmp() 2012-09-04 14:09:02 -07:00
rtl871x_mlme.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl871x_mp.c staging: r8712u: Merging Realtek's latest (v2.6.6). Copyright banners. 2011-09-06 17:00:29 -07:00
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 staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl871x_pwrctrl.c staging: r8712u: Simplify semaphores 2012-02-09 09:12:55 -08:00
rtl871x_pwrctrl.h staging: r8712u: Remove defines that are not used 2012-09-04 14:14:08 -07:00
rtl871x_recv.c staging: r8712u: use is_zero_ether_addr() instead of memcmp() 2012-09-04 14:14:08 -07:00
rtl871x_recv.h staging: r8712u: Simplify semaphores 2012-02-09 09:12:55 -08:00
rtl871x_rf.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl871x_security.c staging: rtl8712: fix foo* bar (foo*) errors reported by checkpatch 2012-09-26 09:23:31 -07:00
rtl871x_security.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl871x_sta_mgt.c staging: r8712u: Add missing initialization and remove configuration parameter CONFIG_R8712_AP 2012-02-10 09:57:28 -08:00
rtl871x_wlan_sme.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl871x_xmit.c staging: delete all duplicated endian crap from rtl8712 driver 2012-05-10 13:10:03 -04:00
rtl871x_xmit.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl8712_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_cmd.c staging: delete all duplicated endian crap from rtl8712 driver 2012-05-10 13:10:03 -04:00
rtl8712_cmd.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl8712_cmdctrl_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_cmdctrl_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_debugctrl_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_debugctrl_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_edcasetting_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl8712_edcasetting_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_efuse.c staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl8712_efuse.h
rtl8712_event.h staging: r8712u: Merging Realtek's latest (v2.6.6). Copyright banners. 2011-09-06 17:00:29 -07:00
rtl8712_fifoctrl_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_fifoctrl_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_gp_bitdef.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl8712_gp_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl8712_hal.h staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl8712_interrupt_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_io.c
rtl8712_led.c staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
rtl8712_macsetting_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_macsetting_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_powersave_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_powersave_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_ratectrl_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_ratectrl_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl8712_recv.c staging: r8712u: Do not queue cloned skb 2012-09-26 13:05:50 -07:00
rtl8712_recv.h staging: r8712u: Reduce maximum receive buffer size to a more sensible value 2012-08-13 19:25:48 -07:00
rtl8712_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl8712_security_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_spec.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl8712_syscfg_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl8712_syscfg_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl8712_timectrl_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_timectrl_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added copyright banners. 2011-08-23 12:53:52 -07:00
rtl8712_wmac_bitdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl8712_wmac_regdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
rtl8712_xmit.c staging: rtl8712: fix a foo * bar errors reported by checkpatch 2012-09-26 09:23:31 -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: Add missing initialization and remove configuration parameter CONFIG_R8712_AP 2012-02-10 09:57:28 -08:00
usb_halinit.c staging: rtl8712: Fix typos. 2012-05-09 13:46:01 -07:00
usb_intf.c staging: r8712u: Remove defines that are not used 2012-09-04 14:14:08 -07:00
usb_ops.c staging: delete all duplicated endian crap from rtl8712 driver 2012-05-10 13:10:03 -04:00
usb_ops.h staging: r8712u: Merging Realtek's latest (v2.6.6). Added Larry's copyright. 2011-08-23 12:53:52 -07:00
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: Remove defines that are not used 2012-09-04 14:14:08 -07:00
wifi.h staging: delete all duplicated endian crap from rtl8712 driver 2012-05-10 13:10:03 -04:00
wlan_bssdef.h staging: r8712u: Merging Realtek's latest (v2.6.6). Copyright banners. 2011-09-06 17:00:29 -07:00
xmit_linux.c staging: delete all duplicated endian crap from rtl8712 driver 2012-05-10 13:10:03 -04: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