aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLaura Abbott <[email protected]>2018-09-11 12:22:26 -0700
committerMartin K. Petersen <[email protected]>2018-09-17 02:50:37 -0400
commitadad633af7b970bfa5dd1b624a4afc83cac9b235 (patch)
tree9865d48ff5f4c89aa9ed5b667df10e41f7195f3c /tools/perf/util/trace-event-scripting.c
parentd792d4c4fc866ae224b0b0ca2aabd87d23b4d6cc (diff)
scsi: ibmvscsis: Ensure partition name is properly NUL terminated
While reviewing another part of the code, Kees noticed that the strncpy of the partition name might not always be NUL terminated. Switch to using strscpy which does this safely. Reported-by: Kees Cook <[email protected]> Signed-off-by: Laura Abbott <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions