diff options
author | Wu Guanghao <wuguanghao3@huawei.com> | 2021-08-16 09:24:51 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2021-10-08 12:01:40 +0200 |
commit | 546047688e1c64638f462147c755b58119cabdc8 (patch) | |
tree | 37fbe27c8a3355d330a271da319820aab31ad5c9 /crc32c.c | |
parent | Utils: Change sprintf to snprintf (diff) | |
download | mdadm-546047688e1c64638f462147c755b58119cabdc8.tar.xz mdadm-546047688e1c64638f462147c755b58119cabdc8.zip |
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>
Diffstat (limited to 'crc32c.c')
0 files changed, 0 insertions, 0 deletions