diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-20 17:58:38 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-09-26 01:31:41 +0300 |
commit | 910801809b2e40a4baedd080ef5d80b4a180e70e (patch) | |
tree | b69813553e15cbf2dce12cfd929afdf3f1602b60 /security/keys/Kconfig | |
parent | e007ce9c59bddd1e67b94bc29036d920f5c5428a (diff) | |
download | linux-910801809b2e40a4baedd080ef5d80b4a180e70e.tar.xz |
security/keys: properly zero out sensitive key material in big_key
Error paths forgot to zero out sensitive material, so this patch changes
some kfrees into a kzfrees.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Eric Biggers <ebiggers3@gmail.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Kirill Marinushkin <k.marinushkin@gmail.com>
Cc: security@kernel.org
Cc: stable@vger.kernel.org
Diffstat (limited to 'security/keys/Kconfig')
0 files changed, 0 insertions, 0 deletions