]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm: Fix double free
authorLukasz Florczak <lukasz.florczak@linux.intel.com>
Fri, 25 Mar 2022 11:48:59 +0000 (12:48 +0100)
committerJes Sorensen <jsorensen@fb.com>
Thu, 31 Mar 2022 15:37:03 +0000 (11:37 -0400)
commit5ce5a15f0bf007e850e15259bba4f53736605fb2
tree4f3f13c829fed8b9475176cc59455938e5892034
parentf1cc8ab9ab6a92c3cd94ab7590b46285e214681e
mdadm: Fix double free

If there was a size mismatch after creation it would get fixed on grow
in imsm_fix_size_mismatch(), but due to double free "double free or corruption (fasttop)"
error occurs and grow cannot proceed.

Signed-off-by: Lukasz Florczak <lukasz.florczak@linux.intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c