]> git.ipfire.org Git - thirdparty/mdadm.git/commit
raid6check: Fix off-by-one in argument check
authorRobert Buchholz <rbu@goodpoint.de>
Thu, 19 Jul 2012 15:14:47 +0000 (17:14 +0200)
committerNeilBrown <neilb@suse.de>
Mon, 10 Sep 2012 07:23:59 +0000 (17:23 +1000)
commitb67e45b858466acac1f410747893d6d717426287
tree013524adbc67f917a9a21f25574a2cabf29e8758
parent1cc101f3f873fac4110aeece95bfe391fc8680c2
raid6check: Fix off-by-one in argument check

In repair mode, specifying a failed slot that is equal to the number of
devices in the raid could cause a segfault.

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