# Re: \[PATCH\] mdadm --detail --scan causes SIGABRT

- From: Jes Sorensen \<hidden\>
- Date: 2016-06-14 17:42:21 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2016/06/6632259
- Thread: https://ratatoskr.run/linux-raid/2016/06/6632259/t.md

```text
Nikhil Kshirsagar [ref] writes:
> Please find attached a patch to fix BZ 1343809.
>
> Details:
> mdadm has a buffer overflow if mdinfo->sys_name needs to store a name
> larger than 20 characters.

Nikhil,

I have applied this one, adding the Signed-off-by: line as you
requested and slightly adjusted the patch description.

I would like to include some checking fixes too to avoid us overflowing
the new buffer size with even longer names.

Cheers,
Jes
```
