kernel-ark/fs/ecryptfs
Michael Halcrow b228b8e5bf [PATCH] eCryptfs: fix possible NULL ptr deref in ecryptfs_d_release()
ecryptfs_d_release() first dereferences a pointer (via
ecryptfs_dentry_to_lower()) and then afterwards checks to see if the
pointer it just dereferenced is NULL (via ecryptfs_dentry_to_private()).

This patch moves all of the work done on the dereferenced pointer inside a
block governed by the condition that the pointer is non-NULL.

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-16 19:25:05 -07:00
..
crypto.c
debug.c
dentry.c [PATCH] eCryptfs: fix possible NULL ptr deref in ecryptfs_d_release() 2007-03-16 19:25:05 -07:00
ecryptfs_kernel.h
file.c
inode.c [PATCH] ecryptfs: nested locking annotation 2007-03-08 07:39:16 -08:00
keystore.c
main.c [PATCH] ecryptfs: lower root result must be adirectory 2007-03-05 07:57:53 -08:00
Makefile
messaging.c
mmap.c [PATCH] ecryptfs: handle AOP_TRUNCATED_PAGE better 2007-03-05 07:57:53 -08:00
netlink.c
super.c