linux/fs/ecryptfs
Duane Griffin a17d5232de eCryptfs: check readlink result was not an error before using it
The result from readlink is being used to index into the link name
buffer without checking whether it is a valid length. If readlink
returns an error this will fault or cause memory corruption.

Cc: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Cc: Dustin Kirkland <kirkland@canonical.com>
Cc: ecryptfs-devel@lists.launchpad.net
Signed-off-by: Duane Griffin <duaneg@dghda.com>
Acked-by: Michael Halcrow <mhalcrow@us.ibm.com>
Acked-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2008-12-31 18:07:38 -05:00
..
crypto.c
debug.c
dentry.c
ecryptfs_kernel.h
file.c
inode.c eCryptfs: check readlink result was not an error before using it 2008-12-31 18:07:38 -05:00
keystore.c eCryptfs: Allocate up to two scatterlists for crypto ops on keys 2008-11-19 18:49:58 -08:00
kthread.c
main.c
Makefile
messaging.c User namespaces: set of cleanups (v2) 2008-11-24 18:57:41 -05:00
miscdev.c User namespaces: set of cleanups (v2) 2008-11-24 18:57:41 -05:00
mmap.c
read_write.c
super.c