aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-04-09 13:04:26 +0000
committerIngo Molnar <[email protected]>2020-04-14 06:32:11 +0000
commitb450b30b97010e5c68ab522c6f6c54ef76bd0683 (patch)
treef8d6491f8bf1f1e867d50537b6606064419e2f33 /tools/perf/scripts/python/intel-pt-events.py
parentLinux 5.7-rc1 (diff)
downloadkernel-b450b30b97010e5c68ab522c6f6c54ef76bd0683.tar.gz
kernel-b450b30b97010e5c68ab522c6f6c54ef76bd0683.zip
efi/cper: 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: Ard Biesheuvel <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions