diff options
| author | Colin Ian King <[email protected]> | 2019-04-12 10:48:29 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-04-18 20:32:26 -0400 |
| commit | 65b1dc99008de592f7c1c8e5fad446824791b4da (patch) | |
| tree | 766f782a7a226c3aa515a27c8830b87db50b769f /tools/perf/scripts/python/compaction-times.py | |
| parent | 948e922fc44611ee2de0c89583ca958cb5307d36 (diff) | |
scsi: qedf: remove memset/memcpy to nfunc and use func instead
Currently the qedf_dbg_* family of functions can overrun the end of the
source string if it is less than the destination buffer length because of
the use of a fixed sized memcpy. Remove the memset/memcpy calls to nfunc
and just use func instead as it is always a null terminated string.
Addresses-Coverity: ("Out-of-bounds access")
Fixes: 61d8658b4a43 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Saurav Kashyap <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions