Re: [PATCH 03/16] xfs_repair: check for AG btree records that would wrap around

Christoph Hellwig
2020-05-09T17:09:34Z

On Sat, May 09, 2020 at 09:30:11AM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> For AG btree types, make sure that each record's length is not so huge
> that integer wraparound would happen.
>
> Found via xfs/358 fuzzing recs[1].blockcount = ones.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>