diff options
| author | Takashi Iwai <tiwai@suse.de> | 2020-03-11 10:24:51 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-12 09:23:59 +0100 |
| commit | 038341dc5f7be6793d582d4731cb313cc90439c3 (patch) | |
| tree | da814504a2931ccea15b5ab002097ad6b7dbf84b /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | staging: rtl8192e: Use scnprintf() for avoiding potential buffer overflow (diff) | |
| download | linux-038341dc5f7be6793d582d4731cb313cc90439c3.tar.gz linux-038341dc5f7be6793d582d4731cb313cc90439c3.zip | |
staging: rtl8723bs: 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/20200311092451.23933-4-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
