mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
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 <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>