projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: authenc - don't leak pointers to authenc keys
[GitHub/moto-9609/android_kernel_motorola_exynos9610.git]
/
crypto
/
authenc.c
diff --git
a/crypto/authenc.c
b/crypto/authenc.c
index 875470b0e026fb5b61a9e6dfea4dc6e7d9ff06a3..0db344d5a01adc68150145e9b0f32f3303b51569 100644
(file)
--- a/
crypto/authenc.c
+++ b/
crypto/authenc.c
@@
-108,6
+108,7
@@
static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key,
CRYPTO_TFM_RES_MASK);
out:
+ memzero_explicit(&keys, sizeof(keys));
return err;
badkey: