commit | 6167a5b4b5f97d9fc09a99842bd3aa149654ffcf | [log] [tgz] |
---|---|---|
author | Kamenee Arumugam <kamenee.arumugam@intel.com> | Mon Aug 28 11:23:33 2017 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Mon Aug 28 19:12:27 2017 -0400 |
tree | ed3b3f5c4b2f19ca2e9ee4e0de12b27ba8c03178 | |
parent | 34ab4de77fe512ba3aeabdcdc97504bd19791511 [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 <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>