]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: FIX: map coping causes mdmon crash
authorAdam Kwolek <adam.kwolek@intel.com>
Mon, 31 Jan 2011 23:40:56 +0000 (10:40 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 31 Jan 2011 23:40:56 +0000 (10:40 +1100)
commit1dfaa38015ec7536eee46cb3f814d7fd4d3f689d
tree8062d9f649d23f1aa6b91f616cb9779ca0f28d0f
parent401d313b7f48ab5c4eea9d151ab10244d2c8b227
imsm: FIX: map coping causes mdmon crash

Too big map was copied (outside allocated memory) and this causes
mdmon crash for 2 raid0 arrays in container.
Map of correct (smaller) size should be copied,
to not overwrite any internal data.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c