diff options
author | 2020-03-11 08:46:38 +0100 | |
---|---|---|
committer | 2020-03-20 16:28:07 +0100 | |
commit | af72bc8cd6ab32be2105129f05eb4502f45577df (patch) | |
tree | ff0556f4992b1c2f24e080d79afd32174bde2d2d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | media: rc: Use scnprintf() for avoiding potential buffer overflow (diff) | |
download | wireguard-linux-af72bc8cd6ab32be2105129f05eb4502f45577df.tar.xz wireguard-linux-af72bc8cd6ab32be2105129f05eb4502f45577df.zip |
media: siano: 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: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions