OpenCloudOS-Kernel/drivers/staging/rtl8192e
Len Baker cf79ee6eb0 staging/rtl8192e: Remove all strcpy() uses
strcpy() performs no bounds checking on the destination buffer. This
could result in linear overflows beyond the end of the buffer, leading
to all kinds of misbehaviors. The safe replacement is strscpy().

It is also dangerous a strcpy() followed by a strcat(). In this case,
refactor the code using scnprintf() and avoid this combination.

Signed-off-by: Len Baker <len.baker@gmx.com>
Link: https://lore.kernel.org/r/20210723173216.12157-1-len.baker@gmx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-27 15:20:56 +02:00
..
rtl8192e staging/rtl8192e: Remove all strcpy() uses 2021-07-27 15:20:56 +02:00
Kconfig staging: rtl8192e: fix kconfig dependency on CRYPTO 2021-03-10 09:23:28 +01:00
Makefile
TODO
dot11d.c staging: rtl8192e: remove boilerplate license text 2019-03-18 07:06:03 +01:00
dot11d.h Staging: rtl8192e: Replace license text with SPDX identifier 2019-02-21 10:58:11 +01:00
rtl819x_BA.h staging: rtl8192e: reformat ba_record struct 2021-03-10 09:25:28 +01:00
rtl819x_BAProc.c staging: rtl8192e: rename RxAdmittedBARecord to rx_admitted_ba_record in rx_ts_record struct 2021-03-10 09:25:32 +01:00
rtl819x_HT.h staging: rtl8192e: reformat bss_ht struct 2021-03-10 09:25:30 +01:00
rtl819x_HTProc.c staging: rtl8192e: replace comparison to NULL by bool 2021-05-10 11:19:34 +02:00
rtl819x_Qos.h staging: rtl8192e: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00
rtl819x_TS.h staging: rtl8192e: reformat rx_ts_record struct 2021-03-10 09:25:32 +01:00
rtl819x_TSProc.c staging: rtl8192e: remove unnecessary blank line before brace 2021-04-14 10:30:55 +02:00
rtllib.h staging: rtl8192e: Remove duplicate declartion 2021-05-10 14:35:28 +02:00
rtllib_crypt_ccmp.c staging: rtl8192e: add proper code indent 2020-07-21 16:52:47 +02:00
rtllib_crypt_tkip.c staging: rtl8192e: indent statement properly 2021-04-22 10:38:42 +02:00
rtllib_crypt_wep.c mm: remove kzfree() compatibility definition 2020-10-25 11:39:02 -07:00
rtllib_debug.h staging: rtl8192e: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00
rtllib_module.c staging: rtl8192e: rtllib_module: Remove redundant memset 2019-06-20 14:39:15 +02:00
rtllib_rx.c staging: rtl8192e: Avoid multiple line dereference 2021-05-10 14:37:04 +02:00
rtllib_softmac.c staging/rtl8192e: Remove all strcpy() uses 2021-07-27 15:20:56 +02:00
rtllib_softmac_wx.c staging/rtl8192e: Remove all strcpy() uses 2021-07-27 15:20:56 +02:00
rtllib_tx.c staging: rtl8192e: Fix shadowed variable name 2021-05-25 18:23:32 +02:00
rtllib_wx.c staging: rtl8192e: remove unnecesasry ftrace-like logging 2021-05-10 11:19:34 +02:00