]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
DDF: avoid ref outside array in getinfo_super_ddf_bvd
authorNeilBrown <neilb@suse.de>
Wed, 9 Apr 2014 06:59:49 +0000 (16:59 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 21 May 2014 01:54:47 +0000 (11:54 +1000)
commit0d255ff84e2f679a9c8ad190b5c3238e62fca5cb
tree6d61c7b45d39540f0fabe5d0e052f8a35a2cb951
parentd2ec75fb3ef359ccd6eb35dd9e9ce60430b8ebe9
DDF: avoid ref outside array in getinfo_super_ddf_bvd

As we are range-checking 'cd', there is a chance that it is not
in-range.  In that case we should include all array indexes with 'cd'
inside the range-tested branch.

Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c