linux/fs/ecryptfs
Tyler Hicks 57ea34d199 eCryptfs: NULL pointer dereference in ecryptfs_send_miscdev()
If data is NULL, msg_ctx->msg is set to NULL and then dereferenced
afterwards.  ecryptfs_send_raw_message() is the only place that
ecryptfs_send_miscdev() is called with data being NULL, but the only
caller of that function (ecryptfs_process_helo()) is never called.  In
short, there is currently no way to trigger the NULL pointer
dereference.

This patch removes the two unused functions and modifies
ecryptfs_send_miscdev() to remove the NULL dereferences.

Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
2009-04-22 03:54:13 -05:00
..
crypto.c eCryptfs: NULL crypt_stat dereference during lookup 2009-03-22 11:20:43 -07:00
debug.c
dentry.c constify dentry_operations: ecryptfs 2009-03-27 14:44:01 -04:00
ecryptfs_kernel.h constify dentry_operations: ecryptfs 2009-03-27 14:44:01 -04:00
file.c
inode.c eCryptfs: NULL crypt_stat dereference during lookup 2009-03-22 11:20:43 -07:00
Kconfig
keystore.c ecryptfs: use kzfree() 2009-04-01 08:59:23 -07:00
kthread.c
main.c eCryptfs: Copy lower inode attrs before dentry instantiation 2009-04-22 03:54:12 -05:00
Makefile
messaging.c eCryptfs: NULL pointer dereference in ecryptfs_send_miscdev() 2009-04-22 03:54:13 -05:00
miscdev.c eCryptfs: NULL pointer dereference in ecryptfs_send_miscdev() 2009-04-22 03:54:13 -05:00
mmap.c
read_write.c
super.c