diff options
author | Takashi Iwai <[email protected]> | 2020-03-11 10:33:53 +0100 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2020-03-19 11:37:56 -0700 |
commit | c6d5789bea5187c2716959f8954a1e00b8a7835d (patch) | |
tree | 68e2690031ed012ca0d1b3671fecd34af8b4d31b /lib/mpi/mpi-mul.c | |
parent | 2536ac6872e5265b4d9d263122cee02e3d5cae1d (diff) |
f2fs: 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 <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions