linux/crypto
Herbert Xu da7cd59ab9 [CRYPTO] api: Read module pointer before freeing algorithm
The function crypto_mod_put first frees the algorithm and then drops
the reference to its module.  Unfortunately we read the module pointer
which after freeing the algorithm and that pointer sits inside the
object that we just freed.

So this patch reads the module pointer out before we free the object.

Thanks to Luca Tettamanti for reporting this.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2007-05-19 14:51:00 +10:00
..
Kconfig
Makefile
ablkcipher.c
aes.c
algapi.c
anubis.c
api.c
arc4.c
blkcipher.c
blowfish.c
camellia.c
cast5.c
cast6.c
cbc.c
cipher.c
compress.c
crc32c.c
cryptd.c
crypto_null.c
cryptomgr.c
deflate.c
des.c
digest.c
ecb.c
fcrypt.c
gf128mul.c
hash.c
hmac.c
internal.h
khazad.c
lrw.c
md4.c
md5.c
michael_mic.c
pcbc.c
proc.c
scatterwalk.c
scatterwalk.h
serpent.c
sha1.c
sha256.c
sha512.c
tcrypt.c
tcrypt.h
tea.c
tgr192.c
twofish.c
twofish_common.c
wp512.c
xcbc.c