linux/kernel/debug
Gustavo A. R. Silva 9b555c4d78 kdb: kdb_support: replace strcpy() by strscpy()
The strcpy() function is being deprecated. Replace it by the safer
strscpy() and fix the following Coverity warning:

"You might overrun the 129-character fixed-size string ks_namebuf
by copying name without checking the length."

Addresses-Coverity-ID: 138995 ("Copy into fixed size buffer")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2019-05-02 13:42:01 +01:00
..
kdb kdb: kdb_support: replace strcpy() by strscpy() 2019-05-02 13:42:01 +01:00
debug_core.c kdb: Don't back trace on a cpu that didn't round up 2018-12-30 08:31:23 +00:00
debug_core.h kgdb: Don't round up a CPU that failed rounding up before 2018-12-30 08:29:13 +00:00
gdbstub.c gdbstub: Replace strcpy() by strscpy() 2019-05-02 13:40:27 +01:00
Makefile kdb: core for kgdb back end (1 of 2) 2010-05-20 21:04:20 -05:00