summaryrefslogtreecommitdiff
path: root/drivers/md/raid6algos.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2009-06-22 10:08:02 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-07-02 16:32:08 -0700
commitc3597e89c932b70d10803954d004e36e5f623f24 (patch)
treef4f18af6abe34f93768540cb55334af0ce042a32 /drivers/md/raid6algos.c
parentaa1c137f76fd6370287a6e5b6030d2acd63b8abd (diff)
dm mpath: validate table argument count
commit 0e0497c0c017664994819f4602dc07fd95896c52 upstream. 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! Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/md/raid6algos.c')
0 files changed, 0 insertions, 0 deletions