commit | 6215894e11de224183c89b001f5363912442b489 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Fri Jul 21 11:04:23 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Jul 25 08:36:35 2017 -0700 |
tree | d241509c5fdb94dc2218bffff11f98b4c2056483 | |
parent | cfaf2d034360166e569a4929dd83ae9698bed856 [diff] |
xfs: check that dir block entries don't off the end of the buffer When we're checking the entries in a directory buffer, make sure that the entry length doesn't push us off the end of the buffer. Found via xfs/388 writing ones to the length fields. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>