Fix possible UDF deadlock and memory corruption (CVE-2006-4145)
authorJan Kara <jack@suse.cz>
Tue, 15 Aug 2006 11:56:26 +0000 (13:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Aug 2006 19:52:23 +0000 (12:52 -0700)
commit00a2b0f6dd2372842df73de72d51621b539fea44
tree1a6978fe89ed18984254ae4b7f3982ace04fcd90
parentc164a9ba0a8870c5c9d353f63085319931d69f23
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: Greg Kroah-Hartman <gregkh@suse.de>
fs/udf/super.c
fs/udf/truncate.c