commit | 8a6453a89dc10269adb1fc0cd0ceba928d557c21 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jan 13 16:33:46 2020 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Jan 16 08:07:24 2020 -0800 |
tree | 9436eaf0077cc793ca8ebc34405d36633febfdae | |
parent | b7df5e92055c69666e3c82f31f193120d98f04e3 [diff] |
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: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>