aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 08:11:00 +0100
committerJens Axboe <[email protected]>2020-03-12 07:38:47 -0600
commita900cc5cd846edc6964736834e098e88d7ecfcd6 (patch)
treef99463cc1a76303de4583420096b05ad1841a927 /tools/perf/scripts/python/syscall-counts.py
parent2c523b344dfa65a3738e7039832044aa133c75fb (diff)
libata: transport: Use scnprintf() for avoiding potential buffer overflow
Since snprintf() returns the would-be-output size instead of the actual output size, the succeeding calls may go beyond the given buffer limit. Fix it by replacing with scnprintf(). Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions