diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-03-11 08:15:06 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-20 04:36:51 +0100 |
commit | 7fe8e483ec6f62ad43e9c2ba7e07b047f4d35d69 (patch) | |
tree | 37a574b787a29790c256a908c03fafd55b22e6ed /arch/arm/crypto | |
parent | crypto: atmel-i2c - Fix wakeup fail (diff) | |
download | linux-7fe8e483ec6f62ad43e9c2ba7e07b047f4d35d69.tar.xz linux-7fe8e483ec6f62ad43e9c2ba7e07b047f4d35d69.zip |
crypto: bcm - 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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/crypto')
0 files changed, 0 insertions, 0 deletions