linux/drivers/net/wireless/realtek/rtl8xxxu
Bitterblue Smith 9b00565abf wifi: rtl8xxxu: Use strscpy instead of sprintf
Fill priv->chip_name and priv->chip_vendor with strscpy instead of
sprintf. This is just to prevent future bugs in case the name of a
chip/vendor becomes longer than the size of chip_name/chip_vendor.

Suggested-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/5fc9cc0e-eecb-8428-aeb1-f745791c0f16@gmail.com
2022-11-16 11:30:43 +02:00
..
Kconfig wifi: rtl8xxxu: Update module description 2022-10-12 07:33:59 +03:00
Makefile wifi: rtl8xxxu: Support new chip RTL8188FU 2022-10-04 11:09:33 +03:00
rtl8xxxu_8188f.c wifi: rtl8xxxu: Use strscpy instead of sprintf 2022-11-16 11:30:43 +02:00
rtl8xxxu_8192c.c wifi: rtl8xxxu: Use strscpy instead of sprintf 2022-11-16 11:30:43 +02:00
rtl8xxxu_8192e.c wifi: rtl8xxxu: Use strscpy instead of sprintf 2022-11-16 11:30:43 +02:00
rtl8xxxu_8723a.c wifi: rtl8xxxu: Use strscpy instead of sprintf 2022-11-16 11:30:43 +02:00
rtl8xxxu_8723b.c wifi: rtl8xxxu: Use strscpy instead of sprintf 2022-11-16 11:30:43 +02:00
rtl8xxxu_core.c wifi: rtl8xxxu: Use strscpy instead of sprintf 2022-11-16 11:30:43 +02:00
rtl8xxxu_regs.h wifi: rtl8xxxu: Name some bits used in burst init 2022-11-16 11:30:42 +02:00
rtl8xxxu.h wifi: rtl8xxxu: Split up rtl8xxxu_identify_chip 2022-11-16 11:26:10 +02:00