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

From
Jes Sorensen <hidden>
Date
2016-06-14 17:42:21
Nikhil Kshirsagar [off-list 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
Thread (1 message) 1 message, 1 author, last reply 2016-06-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help