linux/drivers/staging/rtl8723bs
Colin Ian King 2ca19dfafc staging: rtl8723bs: fix copy of overlapping memory
commit 8ae9a588ca upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-28 17:22:26 +01:00
..
core staging: rtl8723bs: core: Remove Macro "IS_MAC_ADDRESS_BROADCAST" 2019-09-12 10:35:52 +01:00
hal staging: rtl8723bs: fix copy of overlapping memory 2020-02-28 17:22:26 +01:00
include staging: rtl8723bs: replace __inline by inline 2019-09-03 09:39:53 +02:00
os_dep staging: rtl8723bs: Fix potential overuse of kernel memory 2020-02-28 17:22:17 +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