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 14:36:51 +1100 |
commit | 7fe8e483ec6f62ad43e9c2ba7e07b047f4d35d69 (patch) | |
tree | 37a574b787a29790c256a908c03fafd55b22e6ed /tools/build | |
parent | 2638268fa9ebe4f13a8aee89044719f2084f80c8 (diff) | |
download | linux-7fe8e483ec6f62ad43e9c2ba7e07b047f4d35d69.tar.gz |
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 'tools/build')
0 files changed, 0 insertions, 0 deletions