]> 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)
commit2d6ccc83e6ef3b747c985d3b53622a05947fde8d
treec0219a7105329d633a9101235548a587bfcebee2
parentbd4f669294a66880983c9ab5cdcb5bb33e756594
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