diff options
| author | Takashi Iwai <[email protected]> | 2020-04-09 13:04:26 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-04-14 06:32:11 +0000 |
| commit | b450b30b97010e5c68ab522c6f6c54ef76bd0683 (patch) | |
| tree | f8d6491f8bf1f1e867d50537b6606064419e2f33 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | Linux 5.7-rc1 (diff) | |
| download | kernel-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
