[PATCH 003/119] xfs: check offsets of variable length structures

Christoph Hellwig hch at infradead.org
Fri Jun 17 06:33:14 CDT 2016


On Thu, Jun 16, 2016 at 06:18:12PM -0700, Darrick J. Wong wrote:
> Some of the directory/attr structures contain variable-length objects,
> so the enclosing structure doesn't have a meaningful fixed size at
> compile time.  We can check the offsets of the members before the
> variable-length member, so do those.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong at oracle.com>

Looks fine, and should go in independently of the rmap work:

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



More information about the xfs mailing list