]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
super_intel: imsm_manage_reshape(): Fix potential NULL pointer dereference
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 9 Mar 2016 19:11:02 +0000 (14:11 -0500)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 22 Mar 2016 18:05:27 +0000 (14:05 -0400)
commit79a16a9b359afbd5687456c4c43c13ac1946826b
treedf5ba75f665911f4418fbf73d1a912098e2589ba
parent594dc1b8f0ced7536d74c48436972762dd8b8f12
super_intel: imsm_manage_reshape(): Fix potential NULL pointer dereference

If sra == NULL we cannot goto abort, as it would result in calls to
sysfs_set_num() which would dereference sra.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
super-intel.c