]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Avoid NULL reference calling free_super and elsewhere.
authorNeil Brown <neilb@suse.de>
Tue, 27 May 2008 07:23:16 +0000 (17:23 +1000)
committerNeil Brown <neilb@suse.de>
Tue, 27 May 2008 07:23:16 +0000 (17:23 +1000)
commit3d2b16e77caf3242162e1470371c7a21e1f50711
tree153e63262ff1910f3ebec346aab4bc73b507c9e3
parentfe2979bd165863cb9cac4f8ee39ce1cdea70191d
Avoid NULL reference calling free_super and elsewhere.

Since we made free_super a superswitch call, we need to be careful
that st is non NULL before calling st->ss->free_super(st).
Also when updating byteorder there is a chance of a similar NULL
deref.
Assemble.c