diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-14 01:33:46 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-01-16 17:07:24 +0100 |
commit | 8a6453a89dc10269adb1fc0cd0ceba928d557c21 (patch) | |
tree | 9436eaf0077cc793ca8ebc34405d36633febfdae /fs/xfs/xfs_aops.c | |
parent | xfs: make struct xfs_buf_log_format have a consistent size (diff) | |
download | linux-8a6453a89dc10269adb1fc0cd0ceba928d557c21.tar.xz linux-8a6453a89dc10269adb1fc0cd0ceba928d557c21.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_aops.c')
0 files changed, 0 insertions, 0 deletions