fs/partitions: Validate map_count in Mac partition tables
commit9cab3cdd60c929dfe4c5ce641a2530fe8b27a89d
authorTimo Warns <warns@pre-sense.de>
Thu, 17 Feb 2011 21:27:40 +0000 (17 22:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:45:11 +0000 (21 12:45 -0700)
tree602b6a5d6249be57489d1bf07f02877f9b117684
parent92a79fb1843f5af48a7d80efde9852450e2ecc5f
fs/partitions: Validate map_count in Mac partition tables

commit fa7ea87a057958a8b7926c1a60a3ca6d696328ed upstream.

Validate number of blocks in map and remove redundant variable.

Signed-off-by: Timo Warns <warns@pre-sense.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/partitions/mac.c