summaryrefslogtreecommitdiffstats
path: root/fs/eventfd.c
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2009-01-06 23:42:09 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 00:59:23 +0100
commitbae8ec66554b27967f057a4b7888b09481ff1b8b (patch)
tree89dffc974d4b6bb899d0419527a574a143c9bf6d /fs/eventfd.c
parentautofs4: make autofs type usage explicit (diff)
downloadlinux-bae8ec66554b27967f057a4b7888b09481ff1b8b.tar.xz
linux-bae8ec66554b27967f057a4b7888b09481ff1b8b.zip
autofs4: fix string validation check order
In function validate_dev_ioctl() we check that the string we've been sent is a valid path. The function that does this check assumes the string is NULL terminated but our NULL termination check isn't done until after this call. This patch changes the order of the check. Signed-off-by: Ian Kent <raven@themaw.net> Acked-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions