summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-03-15 07:24:25 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-07 10:07:50 (GMT)
commit815414e7648b6d94cb81542dfb15cb71cbbd2ae9 (patch)
tree72d4a1b03061c94109668c557d999baca7ef76e0 /tools
parent11b4854772859d5a755cd575f68e2e2e3234ef43 (diff)
downloadlinux-815414e7648b6d94cb81542dfb15cb71cbbd2ae9.tar.xz
xfs: verify inline directory data forks
commit 630a04e79dd41ff746b545d4fc052e0abb836120 upstream. When we're reading or writing the data fork of an inline directory, check the contents to make sure we're not overflowing buffers or eating garbage data. xfs/348 corrupts an inline symlink into an inline directory, triggering a buffer overflow bug. v2: add more checks consistent with _dir2_sf_check and make the verifier usable from anywhere. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions