commit | 910801809b2e40a4baedd080ef5d80b4a180e70e | [log] [tgz] |
---|---|---|
author | Jason A. Donenfeld <Jason@zx2c4.com> | Wed Sep 20 16:58:38 2017 +0200 |
committer | David Howells <dhowells@redhat.com> | Mon Sep 25 23:31:41 2017 +0100 |
tree | b69813553e15cbf2dce12cfd929afdf3f1602b60 | |
parent | e007ce9c59bddd1e67b94bc29036d920f5c5428a [diff] |
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