1
0
Fork 0
alistair23-linux/drivers/staging/rtl8723bs/hal
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
..
Hal8723BReg.h
HalBtc8723b1Ant.c staging: rtl8723bs: remove set but not used variable 'bWifiBusy' 2019-07-30 09:52:03 +02:00
HalBtc8723b1Ant.h
HalBtc8723b2Ant.c staging: rtl8723bs: hal: move common code to macro 2019-06-10 17:56:00 +02:00
HalBtc8723b2Ant.h
HalBtcOutSrc.h staging: rtl8723bs: Replace hal_btcoex_Initialize() 2019-08-02 13:59:53 +02:00
HalHWImg8723B_BB.c Staging: rtl8723bs: hal: Fix comparison to bool in if statements 2019-05-20 07:40:43 +02:00
HalHWImg8723B_BB.h
HalHWImg8723B_MAC.c Staging: rtl8723bs: hal: Fix comparison to bool in if statements 2019-05-20 07:40:43 +02:00
HalHWImg8723B_MAC.h
HalHWImg8723B_RF.c Staging: rtl8723bs: hal: Fix comparison to bool in if statements 2019-05-20 07:40:43 +02:00
HalHWImg8723B_RF.h
HalPhyRf.c
HalPhyRf.h
HalPhyRf_8723B.c Staging: rtl8723bs: hal: Fix comparison to bool in if statements 2019-05-20 07:40:43 +02:00
HalPhyRf_8723B.h
HalPwrSeqCmd.c
Mp_Precomp.h
hal_btcoex.c staging: rtl8723bs: hal: Drop condition with no effect 2019-08-25 10:24:46 +02:00
hal_com.c staging: rtl8723bs: hal: Remove code valid only for 5GHz 2019-07-22 07:34:13 +02:00
hal_com_phycfg.c staging: rtl8723bs: hal: Replace function PHY_GetTxPowerIndex() 2019-07-25 09:58:26 +02:00
hal_intf.c staging: rtl8723bs: Replace function beacon_timing_control() 2019-07-25 09:59:39 +02:00
hal_pwr_seq.c
hal_sdio.c
odm.c staging: rtl8723bs: remove set but not used variable 'FirstConnect' 2019-08-01 18:38:08 +02:00
odm.h staging: rtl8723bs: Remove unused function prototype ODM_SetAntenna() 2019-07-25 09:59:40 +02:00
odm_CfoTracking.c staging: rtl8723bs: remove set but not used variable 'bEEPROMCheck' 2019-08-01 18:31:15 +02:00
odm_CfoTracking.h
odm_DIG.c Staging: rtl8723bs: hal: fix warning possible condition with no effect (if == else) 2019-05-30 14:13:45 -07:00
odm_DIG.h
odm_DynamicBBPowerSaving.c
odm_DynamicBBPowerSaving.h
odm_DynamicTxPower.c
odm_DynamicTxPower.h
odm_EdcaTurboCheck.c
odm_EdcaTurboCheck.h
odm_HWConfig.c staging: rtl8723bs: remove set but not used variable 'cck_highpwr' 2019-07-25 09:56:05 +02:00
odm_HWConfig.h staging: rtl8723bs: hal: odm_HWConfig: Unneeded variable: "result". Return "HAL_STATUS_SUCCESS" 2019-06-18 09:02:00 +02:00
odm_NoiseMonitor.c
odm_NoiseMonitor.h
odm_PathDiv.c
odm_PathDiv.h
odm_RTL8723B.c
odm_RTL8723B.h
odm_RegConfig8723B.c
odm_RegConfig8723B.h staging: rtl8723bs: hal: odm_RegConfig8723B: fix Lines should not end with a '(' 2019-06-20 14:43:02 +02:00
odm_RegDefine11N.h
odm_debug.c
odm_debug.h
odm_interface.h
odm_precomp.h staging: rtl8723bs: Delete file odm_AntDiv.c 2019-06-21 16:46:17 +02:00
odm_reg.h
odm_types.h
rtl8723b_cmd.c staging: rtl8723bs: Remove return statement from void function 2019-09-05 09:37:32 +02:00
rtl8723b_dm.c staging: rtl8723bs: Change return type of hal_btcoex_IsBtDisabled() 2019-07-03 18:35:04 +02:00
rtl8723b_hal_init.c staging: rtl8723bs: Remove rtw_btcoex_BtInfoNotify() 2019-07-03 18:35:03 +02:00
rtl8723b_phycfg.c staging: rtl8723bs: remove set but not used variable 'pszBBRegMpFile' 2019-07-30 09:52:03 +02:00
rtl8723b_rf6052.c staging: rtl8723bs: hal: rtl8723b_rf6052: collect return status directly 2019-07-01 10:48:58 +02:00
rtl8723b_rxdesc.c
rtl8723bs_recv.c staging: rtl8723bs: hal: remove redundant variable n 2019-09-06 18:20:33 +02:00
rtl8723bs_xmit.c staging: rtl8723bs: fix copy of overlapping memory 2020-02-28 17:22:26 +01:00
sdio_halinit.c staging: rtl8723bs: Remove rtw_btcoex_IQKNotify() 2019-07-01 10:50:22 +02:00
sdio_ops.c staging: rtl8723bs: Remove rtw_hal_c2h_evt_read() 2019-07-01 10:49:44 +02:00