aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 07:09:58 +0000
committerRafael J. Wysocki <[email protected]>2020-03-14 10:15:10 +0000
commitedd66086449cdc2763d14afc65cd2023bf37306a (patch)
tree6d1060a8d1d244f8d6494a705b539045a0471fe0 /tools/perf/scripts/python/sctop.py
parentLinux 5.6-rc5 (diff)
downloadkernel-edd66086449cdc2763d14afc65cd2023bf37306a.tar.gz
kernel-edd66086449cdc2763d14afc65cd2023bf37306a.zip
ACPI: PCI: 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: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions