aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2020-03-11 08:44:39 +0100
committerJens Axboe <[email protected]>2020-03-12 07:39:05 -0600
commit7cd37a0006b0489c3e6cc766b1b3f3d5e4c3a4f2 (patch)
tree067f177c9a9442c7885af19d37f3424d4a71e4e3 /tools/perf/scripts/python/sched-migration.py
parent034851049082d084a6e616900293e14590b4e0e1 (diff)
lightnvm: pblk: 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: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions