aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorKamenee Arumugam <[email protected]>2017-08-28 11:23:33 -0700
committerDoug Ledford <[email protected]>2017-08-28 19:12:27 -0400
commit6167a5b4b5f97d9fc09a99842bd3aa149654ffcf (patch)
treeed3b3f5c4b2f19ca2e9ee4e0de12b27ba8c03178 /lib/string_helpers.c
parent34ab4de77fe512ba3aeabdcdc97504bd19791511 (diff)
IB/qib: Stricter bounds checking for copy to buffer
Replace 'strcpy' with 'strncpy' to restrict the number of bytes copied to the buffer. Reviewed-by: Michael J. Ruhl <[email protected]> Signed-off-by: Kamenee Arumugam <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions