Skip to content
Commit 6139a236 authored by Dave Chinner's avatar Dave Chinner Committed by Felix Blyakher
Browse files

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: default avatarEric Sesterhenn <snakebyte@gmx.de>
Tested-by: default avatarEric Sesterhenn <snakebyte@gmx.de>
Reviewed-by: default avatarChristoph Hellwig <hch@infradead.org>
Reviewed-by: default avatarFelix Blyakher <felixb@sgi.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
Signed-off-by: default avatarFelix Blyakher <felixb@sgi.com>
parent 6d2160bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment