diff options
author | Kamenee Arumugam <kamenee.arumugam@intel.com> | 2017-08-28 20:23:33 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-29 01:12:27 +0200 |
commit | 6167a5b4b5f97d9fc09a99842bd3aa149654ffcf (patch) | |
tree | ed3b3f5c4b2f19ca2e9ee4e0de12b27ba8c03178 /usr | |
parent | IB/hif1: Remove static tracing from SDMA hot path (diff) | |
download | linux-6167a5b4b5f97d9fc09a99842bd3aa149654ffcf.tar.xz linux-6167a5b4b5f97d9fc09a99842bd3aa149654ffcf.zip |
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 <michael.j.ruhl@intel.com>
Signed-off-by: Kamenee Arumugam <kamenee.arumugam@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions