[PATCH] mdadm: protecting sys_name overflow

DORMANTno replies

From: Nikhil Kshirsagar <hidden>
Date: 2016-06-15 10:09:58

Hello,

Devices with names larger than 31 bytes will overflow the sys_name array.

This patch enables mdadm to fail and log a message if a long device name
is going to cause a buffer overflow.

Signed-off-by: Nikhil Kshirsagar <redacted>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help