diff options
author | Milan Broz <mbroz@redhat.com> | 2012-06-28 11:26:02 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-07-10 23:06:13 -0400 |
commit | bf084d8f6eb4ded3f90a6ab79bb682db00ebfbd4 (patch) | |
tree | 6852997847517657887a88b7dc84f227d5bf094e /drivers | |
parent | 82c2f9607b8a4667e9d89613478748f4e2b7288b (diff) |
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')
0 files changed, 0 insertions, 0 deletions