diff options
| author | Takashi Iwai <[email protected]> | 2020-03-11 08:11:00 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-03-12 07:38:47 -0600 |
| commit | a900cc5cd846edc6964736834e098e88d7ecfcd6 (patch) | |
| tree | f99463cc1a76303de4583420096b05ad1841a927 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 2c523b344dfa65a3738e7039832044aa133c75fb (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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions