summaryrefslogtreecommitdiff
path: root/fs/nfs/mount_clnt.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2009-01-22 04:37:47 (GMT)
committerFelix Blyakher <felixb@sgi.com>2009-02-03 17:01:32 (GMT)
commit6139a2360987f55e4490a7813cf69df74ec8b93a (patch)
tree650a4ac7ef9181b0e98cae627728eae2b260c33d /fs/nfs/mount_clnt.c
parent6d2160bfe7826aca1c94b4bca77093908a452ae7 (diff)
downloadlinux-fsl-qoriq-6139a2360987f55e4490a7813cf69df74ec8b93a.tar.xz
xfs: Check buffer lengths in log recovery
Before trying to obtain, read or write a buffer, check that the buffer length is actually valid. If it is not valid, then something read in the recovery process has been corrupted and we should abort recovery. Reported-by: Eric Sesterhenn <snakebyte@gmx.de> Tested-by: Eric Sesterhenn <snakebyte@gmx.de> Reviewed-by: Christoph Hellwig <hch@infradead.org> Reviewed-by: Felix Blyakher <felixb@sgi.com> Signed-off-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'fs/nfs/mount_clnt.c')
0 files changed, 0 insertions, 0 deletions