commit | f9f5e90c212052f896cc2ffbbb062498dd026b1a | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jul 31 15:08:13 2017 -0500 |
committer | Eric Sandeen <sandeen@redhat.com> | Mon Jul 31 15:08:13 2017 -0500 |
tree | ad5e6cbec537a44e0560e0af58b43f985ff4441d | |
parent | d705962a19dc6b3e8db9530b6f7571ea0220682f [diff] |
xfs: check that dir block entries don't off the end of the buffer Source kernel commit: 6215894e11de224183c89b001f5363912442b489 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> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>