aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2019-04-22 16:21:06 +0000
committerDaniel Thompson <[email protected]>2019-05-02 12:42:01 +0000
commit9b555c4d784c468b4167eef9ab621b5203e4f479 (patch)
tree3afdea84bab9fc993497c06aefc6ac8c3c8fd753 /drivers/fpga/fpga-bridge.c
parentgdbstub: Replace strcpy() by strscpy() (diff)
downloadkernel-9b555c4d784c468b4167eef9ab621b5203e4f479.tar.gz
kernel-9b555c4d784c468b4167eef9ab621b5203e4f479.zip
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 <[email protected]> Signed-off-by: Daniel Thompson <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions