Dave Chinner 6139a23609 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>
2009-02-03 11:01:32 -06:00
..
2008-12-04 15:39:25 +11:00
2008-07-28 16:58:35 +10:00
2008-02-07 18:14:38 +11:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2008-12-01 11:37:35 +11:00
2008-10-30 17:53:24 +11:00
2008-12-29 16:47:18 +11:00
2008-12-04 15:39:21 +11:00
2008-11-17 17:37:10 +11:00
2008-10-30 17:53:24 +11:00
2008-12-04 15:39:22 +11:00
2008-12-11 13:13:33 +11:00
2008-12-29 16:47:18 +11:00
2008-10-30 16:55:13 +11:00