linux/drivers/staging/rtl8712
Young Xiao 300cd66486 staging: rtl8712: Fix possible buffer overrun
In commit 8b7a13c3f4 ("staging: r8712u: Fix possible buffer
overrun") we fix a potential off by one by making the limit smaller.
The better fix is to make the buffer larger.  This makes it match up
with the similar code in other drivers.

Fixes: 8b7a13c3f4 ("staging: r8712u: Fix possible buffer overrun")
Signed-off-by: Young Xiao <YangX92@hotmail.com>
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-05 09:56:09 +01:00
..
basic_types.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
drv_types.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
ethernet.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
hal_init.c staging: rtl8712: replace licence header with SPDX licence id 2018-09-20 12:29:26 +02:00
ieee80211.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
ieee80211.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mlme_linux.c staging: rtl8712: Fix possible buffer overrun 2018-12-05 09:56:09 +01:00
mlme_osdep.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
mp_custom_oid.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
os_intfs.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
osdep_intf.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
osdep_service.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
recv_linux.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
recv_osdep.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_cmd.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_cmd.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_debug.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_eeprom.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_eeprom.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_event.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_ht.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_io.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_io.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_ioctl_linux.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_ioctl_rtl.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_ioctl_rtl.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_ioctl_set.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_ioctl_set.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_ioctl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rtl871x_led.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_mlme.c staging: rtl8712: Fix possible buffer overrun 2018-12-05 09:56:09 +01:00
rtl871x_mlme.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_mp_ioctl.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_mp_ioctl.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_mp_phy_regdef.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rtl871x_mp.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_mp.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_pwrctrl.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_pwrctrl.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_recv.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_recv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rtl871x_rf.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_security.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_security.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_sta_mgt.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_wlan_sme.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_xmit.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl871x_xmit.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_cmd.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_cmd.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_cmdctrl_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_cmdctrl_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_debugctrl_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_debugctrl_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_edcasetting_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_edcasetting_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_efuse.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_efuse.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rtl8712_event.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_fifoctrl_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_fifoctrl_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_gp_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_gp_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_hal.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_interrupt_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_io.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_led.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_macsetting_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_macsetting_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_powersave_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_powersave_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_ratectrl_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_ratectrl_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_recv.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_recv.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_security_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_spec.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_syscfg_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_syscfg_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_timectrl_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_timectrl_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_wmac_bitdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_wmac_regdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_xmit.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8712_xmit.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
sta_info.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
TODO
usb_halinit.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
usb_intf.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
usb_ops_linux.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
usb_ops.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
usb_ops.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
usb_osintf.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
wifi.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
wlan_bssdef.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
xmit_linux.c staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
xmit_osdep.h staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00