summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/ipl.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-11 10:09:15 +0100
committerVasily Gorbik <gor@linux.ibm.com>2020-03-23 13:41:54 +0100
commiteb3e064b8dd12d0bc907dbbfc227bca9da252e6f (patch)
treece5ea260338586373a7bfc8d74cfad44d37852b4 /arch/s390/include/asm/ipl.h
parent52aeda7accb6d2e511a1b89142cbbf6fd2c12565 (diff)
downloadlinux-stable-eb3e064b8dd12d0bc907dbbfc227bca9da252e6f.tar.gz
linux-stable-eb3e064b8dd12d0bc907dbbfc227bca9da252e6f.tar.bz2
linux-stable-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 'arch/s390/include/asm/ipl.h')
0 files changed, 0 insertions, 0 deletions