commit | fcfdb697cc756aa2715c40ed90c00c4137dd20df | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Fri Dec 19 12:03:53 2014 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:21:05 2020 +0200 |
tree | aefdc9519f5016d30edec6c3c5c94dd856c53d91 | |
parent | ef92c804b289b0e80f3be49ef564a21767bed7ed [diff] |
udf: Verify i_size when loading inode commit e159332b9af4b04d882dbcfe1bb0117f0a6d4b58 upstream. Verify that inode size is sane when loading inode with data stored in ICB. Otherwise we may get confused later when working with the inode and inode size is too big. Reported-by: Carl Henrik Lunde <chlunde@ping.uio.no> Signed-off-by: Jan Kara <jack@suse.cz> [lizf: Backported to 3.4: just return on error, as there's no "out" label] Signed-off-by: Zefan Li <lizefan@huawei.com>