diff options
author | Jan Kara <jack@suse.cz> | 2018-06-13 12:09:22 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-06-20 11:05:31 +0200 |
commit | fa65653e575fbd958bdf5fb9c4a71a324e39510d (patch) | |
tree | d4c72542efca534caea70cab397ccf4a35ea3c2a /fs/btrfs/send.h | |
parent | 27e6ed54a30a00d6520ddb4518214df8ff99daf1 (diff) | |
download | linux-fa65653e575fbd958bdf5fb9c4a71a324e39510d.tar.bz2 |
udf: Detect incorrect directory size
Detect when a directory entry is (possibly partially) beyond directory
size and return EIO in that case since it means the filesystem is
corrupted. Otherwise directory operations can further corrupt the
directory and possibly also oops the kernel.
CC: Anatoly Trosinenko <anatoly.trosinenko@gmail.com>
CC: stable@vger.kernel.org
Reported-and-tested-by: Anatoly Trosinenko <anatoly.trosinenko@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/btrfs/send.h')
0 files changed, 0 insertions, 0 deletions