summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-11 08:34:10 +0100
committerRob Clark <robdclark@chromium.org>2020-03-19 12:09:04 -0700
commitb83caf42532b25d59cf78c135c6433581b3cd77c (patch)
tree36546a4b1ac18de5bbb038b1cb2a01fea87a494b /tools/perf/scripts/python/export-to-postgresql.py
parent4c145df18f71782007276b670d060d39393fd393 (diff)
drm/msm: 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 <tiwai@suse.de> Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions