]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
Fix for NULL pointer dereference.
authorArtur Wojcik <artur.wojcik@intel.com>
Thu, 10 Dec 2009 19:03:39 +0000 (12:03 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 10 Dec 2009 19:03:39 +0000 (12:03 -0700)
commit791b666ae864cbd6f6c4513859afeb5fc624d02f
treef3f299775fd13e188bfcc317f1aa652637dfd1d3
parentd10d56feb88ef8a625ec39e04d7c8b711bf08870
Fix for NULL pointer dereference.

Pointers '_dev' and '_disk' returned from call to function '_get_imsm_dev'
and '_get_imsm_disk' may be NULL and will be dereferenced at lines
2933 and 2934, respectively.

Signed-off-by: Artur Wojcik <artur.wojcik@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
super-intel.c