commit | 79a69bf8dc240ebeb105226a8a8540df136bf987 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Tue Jan 16 18:54:12 2018 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Wed Jan 17 21:00:46 2018 -0800 |
tree | 2a18adb887525e1d5c89aa99f7174db417620324 | |
parent | ce92d29ddf9908d397895c46b7c78e9db8df414d [diff] |
xfs: attr leaf verifier needs to check for obviously bad count In the attribute leaf verifier, we can check for obviously bad values of firstused and count so that later attempts at lasthash don't run off the end of the memory buffer. Found by ones fuzzing hdr.count in xfs/400 with KASAN. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>