Mikulas Patocka 0e0497c0c0 dm mpath: validate table argument count
The parser reads the argument count as a number but doesn't check that
sufficient arguments are supplied. This command triggers the bug:

dmsetup create mpath --table "0 `blockdev --getsize /dev/mapper/cr0`
    multipath 0 0 2 1 round-robin 1000 0 1 1 /dev/mapper/cr0
    round-robin 0 1 1 /dev/mapper/cr1 1000"
kernel BUG at drivers/md/dm-mpath.c:530!

Cc: stable@kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2009-06-22 10:08:02 +01:00
..
2009-06-16 19:50:13 -07:00
2009-06-18 09:56:20 +02:00
2009-06-17 11:06:25 +01:00
2009-06-16 19:50:13 -07:00
2009-06-17 09:35:24 -07:00
2009-06-19 10:29:20 +10:00
2009-06-16 19:50:13 -07:00
2009-06-18 13:04:04 -07:00
2009-05-07 17:28:59 +02:00
2009-06-17 14:04:42 -07:00
2009-06-16 19:50:13 -07:00
2009-06-18 13:04:04 -07:00
2009-06-15 16:47:25 +10:00
2009-06-19 16:46:05 -07:00
2009-06-19 11:04:32 -07:00
2009-06-18 13:04:04 -07:00
2009-06-18 13:04:04 -07:00