mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 09:42:17 +07:00
cd28aa2e05
strncpy() does not ensure NULL-termination when the input string size equals to the destination buffer size IFNAMSIZ. The output string 'name' is passed to dev_info which relies on NULL-termination. Use strlcpy() instead. This issue is identified by a Coccinelle script. Signed-off-by: Wang Xiayang <xywang.sjtu@sjtu.edu.cn> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> |
||
---|---|---|
.. | ||
ems_pci.c | ||
ems_pcmcia.c | ||
Kconfig | ||
kvaser_pci.c | ||
Makefile | ||
peak_pci.c | ||
peak_pcmcia.c | ||
plx_pci.c | ||
sja1000_isa.c | ||
sja1000_platform.c | ||
sja1000.c | ||
sja1000.h | ||
tscan1.c |