commit | d1558f4e95cb14b0fff5c0b839c15a21f7e8aed0 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Mar 16 17:06:01 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Mar 17 19:09:00 2016 +0800 |
tree | d214356cb58f5bc51c210b45244bcf7dbab6f7e0 | |
parent | 34074205bb9f04b416efb3cbedcd90f418c86200 [diff] |
eCryptfs: Use skcipher and shash eCryptfs: Fix null pointer dereference on kzalloc error path The conversion to skcipher and shash added a couple of null pointer dereference bugs on the kzalloc failure path. This patch fixes them. Fixes: 3095e8e366b4 ("eCryptfs: Use skcipher and shash") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>