diff options
author | 2020-03-11 08:11:00 +0100 | |
---|---|---|
committer | 2020-03-12 07:38:47 -0600 | |
commit | a900cc5cd846edc6964736834e098e88d7ecfcd6 (patch) | |
tree | f99463cc1a76303de4583420096b05ad1841a927 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.6-rc5 (diff) | |
download | wireguard-linux-a900cc5cd846edc6964736834e098e88d7ecfcd6.tar.xz wireguard-linux-a900cc5cd846edc6964736834e098e88d7ecfcd6.zip |
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 <tiwai@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions