aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-15 10:35:01 +0100
committerDavid S. Miller <[email protected]>2020-03-15 17:06:22 -0700
commit38e0f746c456b2f7d64b37aef3b6bd9ad73508c0 (patch)
tree5360d53fbb0ff2ba2244f59fcb54346c79e57d37 /tools/perf/scripts/python/bin
parent413ae546f8726ac0652e59fcf97561fc21f52653 (diff)
net: ionic: 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(). Reviewed-by: Simon Horman <[email protected]> Acked-by: Shannon Nelson <[email protected]> Cc: "David S . Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: [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/bin')
0 files changed, 0 insertions, 0 deletions