]> git.ipfire.org Git - thirdparty/mdadm.git/commit - ReadMe.c
mdadm: fix coredump of mdadm --monitor -r
authorWu Guanghao <wuguanghao3@huawei.com>
Mon, 16 Aug 2021 07:24:51 +0000 (15:24 +0800)
committerJes Sorensen <jsorensen@fb.com>
Fri, 8 Oct 2021 10:01:40 +0000 (06:01 -0400)
commit546047688e1c64638f462147c755b58119cabdc8
tree37fbe27c8a3355d330a271da319820aab31ad5c9
parentfeeb2785e67f084cb5d706fe5f074ade50bece78
mdadm: fix coredump of mdadm --monitor -r

The --monitor -r option requires a parameter, otherwise a null pointer will be manipulated
when converting to integer data, and a coredump will appear.

Segmentation fault (core dumped)

Signed-off-by: Wu Guanghao <wuguanghao3@huawei.com>
Acked-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
ReadMe.c