diff options
author | Masahiro Yamada <[email protected]> | 2022-04-25 04:07:45 +0900 |
---|---|---|
committer | Masahiro Yamada <[email protected]> | 2022-05-08 03:16:59 +0900 |
commit | 15a28c7c72917f96820e9e9ccd113606363ba3ac (patch) | |
tree | 491b81b105d4a0fad6acf8fc1aea033530302973 /net/lapb/lapb_subr.c | |
parent | f4d40868fc4dcfd5db4999149b13fea3902c8883 (diff) |
modpost: use snprintf() instead of sprintf() for safety
Use snprintf() to avoid the potential buffer overflow, and also
check the return value to detect the too long path.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions