Skip to content
Commit 9b555c4d authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Daniel Thompson
Browse files

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: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
parent 4cc168ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment