diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-07-21 21:04:23 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-07-25 18:36:35 +0300 |
commit | 6215894e11de224183c89b001f5363912442b489 (patch) | |
tree | d241509c5fdb94dc2218bffff11f98b4c2056483 /fs/jffs2/compr_lzo.c | |
parent | cfaf2d034360166e569a4929dd83ae9698bed856 (diff) | |
download | linux-6215894e11de224183c89b001f5363912442b489.tar.xz |
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 'fs/jffs2/compr_lzo.c')
0 files changed, 0 insertions, 0 deletions