[PATCH] Fix possible memory corruption in xfs_readlink
Alex Elder
aelder at sgi.com
Tue Oct 18 08:59:28 CDT 2011
On Tue, 2011-10-18 at 02:18 -0200, Carlos Maiolino wrote:
> Fixes a possible memory corruption when the link is larger than
> MAXPATHLEN and XFS_DEBUG is not enabled. This also remove the
> S_ISLNK assert, since the inode mode is checked previously in
> xfs_readlink_by_handle() and via VFS.
>
> Signed-off-by: Carlos Maiolino <cmaiolino at redhat.com>
OK, looks good. I'll commit it soon.
Reviewed-by: Alex Elder <aelder at sgi.com>
More information about the xfs
mailing list