aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2021-05-28 11:13:37 -0700
committerMartin K. Petersen <[email protected]>2021-06-02 00:56:15 -0400
commit5250db63d14002efce40f4d4fbfee3b81c829d54 (patch)
tree67a189898f26aeeef68a02abd9e9e1712ff7dcee /tools/perf/scripts/python/export-to-postgresql.py
parent66fc475bd9e1fca7250affe986862e94ae10a8fd (diff)
scsi: isci: Use correctly sized target buffer for memcpy()
In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memcpy(), avoid intentionally writing across neighboring array fields. Switch from rsp_ui to resp_buf, since resp_ui isn't SSP_RESP_IU_MAX_SIZE bytes in length. This avoids future compile-time warnings. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions