From: Jan Kara Date: Fri, 19 Dec 2014 11:03:53 +0000 (+0100) Subject: udf: Verify i_size when loading inode X-Git-Tag: v3.2.67~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24282850119ea4dc29afeb3b2e670f85a9755955;p=pandora-kernel.git 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 Signed-off-by: Jan Kara [bwh: Backported to 3.2: on error, call make_bad_inode() then return] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed