summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inline.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-12-10 15:55:01 +0100
committerTheodore Ts'o <tytso@mit.edu>2016-12-10 15:55:01 +0100
commit7e6e1ef48fc02f3ac5d0edecbb0c6087cd758d58 (patch)
tree9b56e87202bf6e79da606529ef5900053e80f939 /fs/ext4/inline.c
parentext4: remove another test in ext4_alloc_file_blocks() (diff)
downloadlinux-7e6e1ef48fc02f3ac5d0edecbb0c6087cd758d58.tar.xz
linux-7e6e1ef48fc02f3ac5d0edecbb0c6087cd758d58.zip
ext4: reject inodes with negative size
Don't load an inode with a negative size; this causes integer overflow problems in the VFS. [ Added EXT4_ERROR_INODE() to mark file system as corrupted. -TYT] Fixes: a48380f769df (ext4: rename i_dir_acl to i_size_high) Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions