aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2024-07-19 12:54:22 +0200
committerChuck Lever <[email protected]>2024-07-19 10:05:23 -0400
commit785280973472dbdee2c31cb740633c4b6460a8ee (patch)
tree003098797e8864c6aad1cc15dfe51d5038247485 /lib/test_fortify/write_overflow-strncpy-src.c
parent769d20028f45a4f442cfe558a32faba357a7f5e2 (diff)
sunrpc: avoid -Wformat-security warning
Using a non-constant string as an sprintf-style is potentially dangerous: net/sunrpc/svc.c: In function 'param_get_pool_mode': net/sunrpc/svc.c:164:32: error: format not a string literal and no format arguments [-Werror=format-security] Use a literal "%s" format instead. Fixes: 5f71f3c32553 ("sunrpc: refactor pool_mode setting code") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions