diff options
author | 2024-09-10 17:30:24 +0800 | |
---|---|---|
committer | 2024-09-13 18:26:53 +0800 | |
commit | ce212d2afca47acd366a2e74c76fe82c31f785ab (patch) | |
tree | 911dfe5f1e299e9ba94d537ea8918d000e901a63 /scripts/module-common.c | |
parent | crypto: camm/qi - Use ERR_CAST() to return error-valued pointer (diff) | |
download | wireguard-linux-ce212d2afca47acd366a2e74c76fe82c31f785ab.tar.xz wireguard-linux-ce212d2afca47acd366a2e74c76fe82c31f785ab.zip |
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 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions