diff options
author | Jan Kara <jack@suse.cz> | 2019-05-15 15:39:42 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-05-20 10:50:48 +0200 |
commit | 6c71b489ecfd927966571348f4e4135169a9fbd5 (patch) | |
tree | c032d4200b8022641cea1d5c19e616545c24cd5f /fs/ext2/acl.h | |
parent | 8cd0f2ba787a1a1758dbe063fe6a26ceccd37c24 (diff) | |
download | linux-6c71b489ecfd927966571348f4e4135169a9fbd5.tar.gz linux-6c71b489ecfd927966571348f4e4135169a9fbd5.tar.bz2 linux-6c71b489ecfd927966571348f4e4135169a9fbd5.zip |
ext2: Strengthen xattr block checks
Check every entry in xattr block for validity in ext2_xattr_set() to
detect on disk corruption early. Also since e_value_block field in xattr
entry is never != 0 in a valid filesystem, just remove checks for it
once we have established entries are valid.
Reviewed-by: Chengguang Xu <cgxu519@zoho.com.cn>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/acl.h')
0 files changed, 0 insertions, 0 deletions