aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-11 11:15:35 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-12 07:58:13 -0700
commit17bb60b74124e9491d593e2601e3afe14daa2f57 (patch)
tree26dbeb5f5b4e5d37febca2fe6f617739e0b66912 /tools/perf/scripts/python/export-to-postgresql.py
parentxfs: mark extended attr corrupt when lookup-by-hash fails (diff)
downloadlinux-dev-17bb60b74124e9491d593e2601e3afe14daa2f57.tar.xz
linux-dev-17bb60b74124e9491d593e2601e3afe14daa2f57.zip
xfs: 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: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions