aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2012-06-28 17:26:02 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2012-07-11 11:06:13 +0800
commitbf084d8f6eb4ded3f90a6ab79bb682db00ebfbd4 (patch)
tree6852997847517657887a88b7dc84f227d5bf094e /drivers/char
parent82c2f9607b8a4667e9d89613478748f4e2b7288b (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/char')
0 files changed, 0 insertions, 0 deletions