[PATCH v2 0/3] staging: rtl8723bs: Replace sprintf with scnprintf
Candy Febriyanto
cfebriyanto at gmail.com
Mon Mar 1 14:56:31 UTC 2021
This patchset replaces most calls to sprintf with scnprintf, thereby
preventing potential buffer overflows. The rest I left alone because
they write to a buffer passed by a caller that doesn't pass its size
alongside it.
Candy Febriyanto (3):
staging: rtl8723bs: core: Replace sprintf with scnprintf
staging: rtl8723bs: hal: Replace sprintf with scnprintf
staging: rtl8723bs: os_dep: Replace sprintf with scnprintf
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 3 +-
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 4 +-
drivers/staging/rtl8723bs/hal/hal_com.c | 45 ++++++++++---------
.../staging/rtl8723bs/os_dep/ioctl_linux.c | 23 +++++-----
drivers/staging/rtl8723bs/os_dep/mlme_linux.c | 6 +--
5 files changed, 41 insertions(+), 40 deletions(-)
--
2.30.1
More information about the devel
mailing list