diff options
author | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2009-03-15 20:17:01 +0100 |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2009-04-22 10:54:13 +0200 |
commit | 57ea34d19963781d05eb12f9b31bd4f70d61ec16 (patch) | |
tree | 5a912a7515234eb73147c32197ecbc7ca429bde8 /fs/ecryptfs/super.c | |
parent | eCryptfs: Copy lower inode attrs before dentry instantiation (diff) | |
download | linux-57ea34d19963781d05eb12f9b31bd4f70d61ec16.tar.xz linux-57ea34d19963781d05eb12f9b31bd4f70d61ec16.zip |
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>
Diffstat (limited to 'fs/ecryptfs/super.c')
0 files changed, 0 insertions, 0 deletions