summaryrefslogtreecommitdiff
path: root/kernel/padata.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2024-09-10 17:30:24 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2024-09-13 18:26:53 +0800
commitce212d2afca47acd366a2e74c76fe82c31f785ab (patch)
tree911dfe5f1e299e9ba94d537ea8918d000e901a63 /kernel/padata.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 <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/r/202409090726.TP0WfY7p-lkp@intel.com/ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions