diff options
author | Milan Broz <mbroz@redhat.com> | 2012-06-28 17:26:02 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-07-11 11:06:13 +0800 |
commit | bf084d8f6eb4ded3f90a6ab79bb682db00ebfbd4 (patch) | |
tree | 6852997847517657887a88b7dc84f227d5bf094e /drivers/char/hw_random/Kconfig | |
parent | 82c2f9607b8a4667e9d89613478748f4e2b7288b (diff) | |
download | op-kernel-dev-bf084d8f6eb4ded3f90a6ab79bb682db00ebfbd4.zip op-kernel-dev-bf084d8f6eb4ded3f90a6ab79bb682db00ebfbd4.tar.gz |
crypto: aesni-intel - fix wrong kfree pointer
kfree(new_key_mem) in rfc4106_set_key() should be called on malloced pointer,
not on aligned one, otherwise it can cause invalid pointer on free.
(Seen at least once when running tcrypt tests with debug kernel.)
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/Kconfig')
0 files changed, 0 insertions, 0 deletions