linux/fs/ecryptfs
Herbert Xu d1558f4e95 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: 3095e8e366 ("eCryptfs: Use skcipher and shash")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-03-17 19:09:00 +08:00
..
crypto.c eCryptfs: Use skcipher and shash 2016-01-27 20:36:18 +08:00
debug.c
dentry.c eCryptfs: Invalidate dcache entries when lower i_nlink is zero 2015-08-18 17:29:48 -05:00
ecryptfs_kernel.h eCryptfs: Use skcipher and shash 2016-01-27 20:36:18 +08:00
file.c ioctl_compat: handle FITRIM 2015-07-09 11:42:21 -07:00
inode.c eCryptfs: Use skcipher and shash 2016-01-27 20:36:18 +08:00
Kconfig Minor code cleanups and new Kconfig option to disable /dev/ecryptfs 2013-03-07 12:47:24 -08:00
keystore.c eCryptfs: Use skcipher and shash 2016-03-17 19:09:00 +08:00
kthread.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
main.c eCryptfs: Use skcipher and shash 2016-01-27 20:36:18 +08:00
Makefile eCryptfs: allow userspace messaging to be disabled 2013-03-03 23:59:59 -08:00
messaging.c fs/ecryptfs/messaging.c: remove null test before kfree 2014-07-03 16:38:09 -05:00
miscdev.c ecryptfs: close rmmod race 2013-04-09 14:08:16 -04:00
mmap.c eCryptfs: Use skcipher and shash 2016-01-27 20:36:18 +08:00
read_write.c ecryptfs: don't open-code kernel_read() 2013-05-09 13:39:58 -04:00
super.c eCryptfs: Use skcipher and shash 2016-01-27 20:36:18 +08:00