diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-07-21 11:04:23 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-07-25 08:36:35 -0700 |
commit | 6215894e11de224183c89b001f5363912442b489 (patch) | |
tree | d241509c5fdb94dc2218bffff11f98b4c2056483 /block/bounce.c | |
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>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions