aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 07:17:28 +0000
committerBorislav Petkov <[email protected]>2020-03-17 18:26:09 +0000
commit215a423cc0799b054bdabbc5ba68a7178924621d (patch)
tree63e0a31af0f2d2651fe745b2b51c83a54931fdc6 /tools/perf/scripts/python/compaction-times.py
parentEDAC/mce_amd: Print !SMCA processor warning only once (diff)
downloadkernel-215a423cc0799b054bdabbc5ba68a7178924621d.tar.gz
kernel-215a423cc0799b054bdabbc5ba68a7178924621d.zip
EDAC/armada_xp: 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: Borislav Petkov <[email protected]> Reviewed-by: Jan Luebbe <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions