linux/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 [PATCH] eCryptfs: open-code flag checking and manipulation 2007-02-12 09:48:37 -08:00
debug.c [PATCH] eCryptfs: open-code flag checking and manipulation 2007-02-12 09:48:37 -08:00
dentry.c [PATCH] eCryptfs: fix possible NULL ptr deref in ecryptfs_d_release() 2007-03-16 19:25:05 -07:00
ecryptfs_kernel.h [PATCH] eCryptfs: Reduce stack usage in ecryptfs_generate_key_packet_set() 2007-02-16 08:14:01 -08:00
file.c [PATCH] eCryptfs: set O_LARGEFILE when opening lower file 2007-03-01 14:53:37 -08:00
inode.c [PATCH] ecryptfs: nested locking annotation 2007-03-08 07:39:16 -08:00
keystore.c [PATCH] eCryptfs: Reduce stack usage in ecryptfs_generate_key_packet_set() 2007-02-16 08:14:01 -08:00
main.c [PATCH] ecryptfs: lower root result must be adirectory 2007-03-05 07:57:53 -08:00
Makefile [PATCH] eCryptfs: Public key; packet management 2007-02-12 09:48:36 -08:00
messaging.c [PATCH] ecryptfs: fix forgotten format specifier 2007-02-16 08:14:01 -08:00
mmap.c [PATCH] ecryptfs: handle AOP_TRUNCATED_PAGE better 2007-03-05 07:57:53 -08:00
netlink.c [PATCH] eCryptfs: Public key; packet management 2007-02-12 09:48:36 -08:00
super.c [PATCH] Mark struct super_operations const 2007-02-12 09:48:47 -08:00