summaryrefslogtreecommitdiff
path: root/fs/compat_ioctl.c
diff options
context:
space:
mode:
authorDuane Griffin <duaneg@dghda.com>2008-12-19 20:47:10 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2008-12-31 23:07:38 (GMT)
commita17d5232de7b53d34229de79ec22f4bb04adb7e4 (patch)
treed42a96bf5e0806e4a67404709a8fdf0ed4e551c0 /fs/compat_ioctl.c
parent5cc4a0341a1295ea56b2e62eb70d96d8fdb94ded (diff)
downloadlinux-fsl-qoriq-a17d5232de7b53d34229de79ec22f4bb04adb7e4.tar.xz
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>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions