summaryrefslogtreecommitdiffstats
path: root/drivers/connector
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2009-06-22 11:08:02 +0200
committerAlasdair G Kergon <agk@redhat.com>2009-06-22 11:08:02 +0200
commit0e0497c0c017664994819f4602dc07fd95896c52 (patch)
treed6a70d29e5eae6ca9cf3ca197db9f0ab8a3b5e51 /drivers/connector
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drz... (diff)
downloadlinux-0e0497c0c017664994819f4602dc07fd95896c52.tar.xz
linux-0e0497c0c017664994819f4602dc07fd95896c52.zip
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>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions