]> err.no Git - linux-2.6/commit
md: guard against possible bad array geometry in v1 metadata
authorNeilBrown <neilb@suse.de>
Tue, 4 Mar 2008 22:29:31 +0000 (14:29 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Mar 2008 00:35:17 +0000 (16:35 -0800)
commita1801f858e57f87a7f79914346921cc729632295
tree1ac8c153af0512382c387316a6882df555eb721e
parent8311c29d40235062a843f4a8e8a70a44af6fe4c9
md: guard against possible bad array geometry in v1 metadata

Make sure the data doesn't start before the end of the superblock when the
superblock is at the start of the device.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/md.c