dm mpath: fix potential NULL pointer in feature arg processing
authorMike Snitzer <snitzer@redhat.com>
Tue, 2 Aug 2011 11:32:00 +0000 (12:32 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:00 +0000 (12:32 +0100)
commit286f367dad40beb3234a18c17391d03ba939a7f3
tree50e7b04332ce6e8ab920284528d555e67aae2081
parent762a80d9fc9f690a3a35983f3b4619a220650808
dm mpath: fix potential NULL pointer in feature arg processing

Avoid dereferencing a NULL pointer if the number of feature arguments
supplied is fewer than indicated.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: stable@kernel.org
drivers/md/dm-mpath.c