mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-12 11:23:32 +08:00
551ab6d8e0
When reading extended attributes, check e_value_offs to make sure that it starts in the value area and not the name area. The attached test case image will crash the kernel if it is mounted and you append more than 4096 bytes of data to /a, due to insufficient validation. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> |
||
---|---|---|
.. | ||
expect.1 | ||
expect.2 | ||
image.gz | ||
name |