aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 10:24:50 +0100
committerGreg Kroah-Hartman <[email protected]>2020-03-12 09:23:59 +0100
commit39ddadf14da77c5c7176e0395db5f832b7da06c0 (patch)
treed8b998139dcc660caf3d581b5ea0ab04cb1f46a2 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent72e7375cafc12eaac17f774872fd24f4de1a5c07 (diff)
staging: rtl8192e: 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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions