diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-03-15 00:24:25 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-03-15 00:24:25 -0700 |
commit | 630a04e79dd41ff746b545d4fc052e0abb836120 (patch) | |
tree | ef788a95dc530d80b012987a1dc60f9a3912abbe /fs/fs_struct.c | |
parent | 2fcc319d2467a5f5b78f35f79fd6e22741a31b1e (diff) |
xfs: verify inline directory data forksxfs-4.11-fixes-2
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.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
---
v2: add more checks consistent with _dir2_sf_check and make the verifier
usable from anywhere.
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions