2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/drivers/staging/rtl8723bs
Colin Ian King 8ae9a588ca staging: rtl8723bs: fix copy of overlapping memory
Currently the rtw_sprintf prints the contents of thread_name
onto thread_name and this can lead to a potential copy of a
string over itself. Avoid this by printing the literal string RTWHALXT
instread of the contents of thread_name.

Addresses-Coverity: ("copy of overlapping memory")
Fixes: 554c0a3abf ("staging: Add rtl8723bs sdio wifi driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200126220549.9849-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-10 08:49:11 -08:00
..
core staging: rtl8723bs: Fix line length 2019-12-10 15:57:27 +01:00
hal staging: rtl8723bs: fix copy of overlapping memory 2020-02-10 08:49:11 -08:00
include staging: rtl8723bs: Remove File operation APIs 2019-10-10 10:51:20 +02:00
os_dep staging: rtl8723bs: remove set but not used variable 'change', 'pos' 2019-11-18 12:49:42 +01:00
Kconfig staging: rtl8723bs: use help instead of ---help--- in Kconfig 2019-05-20 10:49:08 +02:00
Makefile staging: rtl8723bs: Remove debugging information exposed via procfs 2019-08-14 13:20:12 +02:00
TODO staging: rtl8723bs: Remove myself from CC: 2019-06-20 14:32:07 +02:00