]> git.baikalelectronics.ru Git - kernel.git/commit
udf: Avoid run away loop when partition table length is corrupted
authorJan Kara <jack@suse.cz>
Wed, 27 Jun 2012 18:20:22 +0000 (20:20 +0200)
committerJan Kara <jack@suse.cz>
Thu, 28 Jun 2012 17:30:58 +0000 (19:30 +0200)
commite3b19188b288b1368b20581e72fa8879e1930d86
treec0219a7105329d633a9101235548a587bfcebee2
parent394dd2c9be5e3f533bc918f665236a9c3ac40259
udf: Avoid run away loop when partition table length is corrupted

Check provided length of partition table so that (possibly maliciously)
corrupted partition table cannot cause accessing data beyond current buffer.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/super.c