drivers/net/usb: Remove all strcpy() uses
[ Upstream commit 493c3ca6 ] strcpy() performs no bounds checking on the destination buffer. This could result in linear overflows beyond the end of the buffer, leading to all kinds of misbehaviors. The safe replacement is strscpy(). Signed-off-by:Len Baker <len.baker@gmx.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: bab8eb0d ("usbnet: modern method to get random MAC") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading