[GIT PULL] ocfs2 symlink walk fix

From: Joel Becker
Date: Wed Sep 29 2010 - 22:09:30 EST


Linus, et al,
We've discovered that ocfs2 can walk off the end reading a fast
symlink if the NUL got corrupted on disk. It's a simple
strlen()->strnlen() fix, but I think it should go sooner rather than
later.
Please pull.

Joel

The following changes since commit 4193d9163582b05e33aca3392e46649e5c3da8d1:

Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs (2010-09-29 14:58:11 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2.git fixes

Joel Becker (1):
ocfs2: Don't walk off the end of fast symlinks.

fs/ocfs2/symlink.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/