aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-15 10:34:58 +0100
committerDavid S. Miller <[email protected]>2020-03-15 17:06:22 -0700
commit13bde56c5b7cc6489eb50c40449d461c7ca4da2d (patch)
tree9e575a199d5330aa7c1240b5b6253d59f642db37 /tools/perf/scripts/python/exported-sql-viewer.py
parentcb851c01b51bb610a9093d01624565ce1d4e38fa (diff)
net: caif: 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(). Cc: "David S . Miller" <[email protected]> Cc: [email protected] Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions