Fix possible UDF deadlock and memory corruption (CVE-2006-4145)
authorJan Kara <jack@suse.cz>
Wed, 23 Aug 2006 16:00:30 +0000 (18:00 +0200)
committerAdrian Bunk <bunk@stusta.de>
Wed, 23 Aug 2006 16:00:30 +0000 (18:00 +0200)
commitb9a96aa8fa91f4f3187d141a84f0aeaed2935cbe
treec18f8072d6b4f7f34996bdc782842081f4c4a0e4
parentccef2db6c097ff35d4e446a6d85c657afb5567d2
Fix possible UDF deadlock and memory corruption (CVE-2006-4145)

UDF code is not really ready to handle extents larger that 1GB. This is
the easy way to forbid creating those.

Also truncation code did not count with the case when there are no
extents in the file and we are extending the file.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
fs/udf/super.c
fs/udf/truncate.c