Skip to content
Commit 8a6453a8 authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

xfs: check log iovec size to make sure it's plausibly a buffer log format



When log recovery is processing buffer log items, we should check that
the incoming iovec actually describes a region of memory large enough to
contain the log format and the dirty map.

Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
parent b7df5e92
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment