diff options
| author | Takashi Iwai <tiwai@suse.de> | 2020-03-11 10:19:44 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-12 09:23:59 +0100 |
| commit | 234ff54287c1ce1d92eb807eb285adceb1c86b8c (patch) | |
| tree | d23aeb75b09d4004e0716308af1254c8f93efc01 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | staging: wilc1000: updated DT binding documentation (diff) | |
| download | linux-234ff54287c1ce1d92eb807eb285adceb1c86b8c.tar.gz linux-234ff54287c1ce1d92eb807eb285adceb1c86b8c.zip | |
staging: most: core: 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>
Link: https://lore.kernel.org/r/20200311091944.23185-1-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
