]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Fix possible crash if bitmap metadata is bad.
authorNeilBrown <neilb@suse.de>
Mon, 2 Feb 2009 00:06:38 +0000 (11:06 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 2 Feb 2009 00:06:38 +0000 (11:06 +1100)
commitb47dff6675026053dc574f305df570d79754484e
tree24d3b459382344cace0755f413ebe772daddd76b
parent0083584d5e8162f684112ed32da19888831d3190
Fix possible crash if bitmap metadata is bad.

We really should never divide by 0.

Thanks to "Jon Nelson" <jnelson-linux-raid@jamponi.net>
for finding the problem.

Signed-off-by: NeilBrown <neilb@suse.de>
bitmap.c