aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2024-09-10 17:30:24 +0800
committerHerbert Xu <[email protected]>2024-09-13 18:26:53 +0800
commitce212d2afca47acd366a2e74c76fe82c31f785ab (patch)
tree911dfe5f1e299e9ba94d537ea8918d000e901a63 /lib/memory-notifier-error-inject.c
parente2b19a4840650ba1d679562d4a8959f3f6070064 (diff)
crypto: n2 - Set err to EINVAL if snprintf fails for hmac
Return EINVAL if the snprintf check fails when constructing the algorithm names. Fixes: 8c20982caca4 ("crypto: n2 - Silence gcc format-truncation false positive warnings") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions