On 6/6/22 06:32, Kinga Tanska wrote: > Mdadm with "--monitor" parameter requires md device > as an argument to be monitored. If given argument is > not a md device, error shall be returned. Previously > it was not checked and invalid argument caused > segmentation fault. This commit adds checking > that devices passed to mdmonitor are md devices. > > Signed-off-by: Kinga Tanska <kinga.tanska@xxxxxxxxx> > --- > Monitor.c | 10 +++++++++- > mdadm.h | 1 + > mdopen.c | 17 +++++++++++++++++ > 3 files changed, 27 insertions(+), 1 deletion(-) > Applied! Thanks, Jes