diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-20 16:58:38 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-09-26 00:31:41 +0200 |
commit | 910801809b2e40a4baedd080ef5d80b4a180e70e (patch) | |
tree | b69813553e15cbf2dce12cfd929afdf3f1602b60 /scripts/config | |
parent | KEYS: use kmemdup() in request_key_auth_new() (diff) | |
download | linux-910801809b2e40a4baedd080ef5d80b4a180e70e.tar.xz linux-910801809b2e40a4baedd080ef5d80b4a180e70e.zip |
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 'scripts/config')
0 files changed, 0 insertions, 0 deletions