diff options
author | 2009-01-22 15:37:47 +1100 | |
---|---|---|
committer | 2009-02-03 11:01:32 -0600 | |
commit | 6139a2360987f55e4490a7813cf69df74ec8b93a (patch) | |
tree | 650a4ac7ef9181b0e98cae627728eae2b260c33d /kernel/posix-cpu-timers.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-linus (diff) | |
download | linux-rng-6139a2360987f55e4490a7813cf69df74ec8b93a.tar.xz linux-rng-6139a2360987f55e4490a7813cf69df74ec8b93a.zip |
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 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions