diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-10-29 22:11:56 +1100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-10-30 13:57:14 -0500 |
commit | a62936210525da2f46ae264e0bf9680eafac176e (patch) | |
tree | 86460999725a51b8ead593f451eb7279cd615719 /lib/zlib_deflate | |
parent | b01ef655d8b9753c3d25e4c22e0a4e7c442fe5e1 (diff) | |
download | op-kernel-dev-a62936210525da2f46ae264e0bf9680eafac176e.zip op-kernel-dev-a62936210525da2f46ae264e0bf9680eafac176e.tar.gz |
xfs: validity check the directory block leaf entry count
The directory block format verifier fails to check that the leaf
entry count is in a valid range, and so if it is corrupted then it
can lead to derefencing a pointer outside the block buffer. While we
can't exactly validate the count without first walking the directory
block, we can ensure the count lands in the valid area within the
directory block and hence avoid out-of-block references.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'lib/zlib_deflate')
0 files changed, 0 insertions, 0 deletions