diff options
author | 2020-03-11 10:09:15 +0100 | |
---|---|---|
committer | 2020-03-23 13:41:54 +0100 | |
commit | eb3e064b8dd12d0bc907dbbfc227bca9da252e6f (patch) | |
tree | ce5ea260338586373a7bfc8d74cfad44d37852b4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/topology: remove offline CPUs from CPU topology masks (diff) | |
download | wireguard-linux-eb3e064b8dd12d0bc907dbbfc227bca9da252e6f.tar.xz wireguard-linux-eb3e064b8dd12d0bc907dbbfc227bca9da252e6f.zip |
s390/zcrypt: 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().
Message-Id: <20200311090915.21059-1-tiwai@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions