Searched hist:"493 c3ca6bd754d8587604496eb814f72e933075d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/usb/ |
H A D | ipheth.c | diff 493c3ca6bd754d8587604496eb814f72e933075d Sun Aug 01 12:12:26 CDT 2021 Len Baker <len.baker@gmx.com> drivers/net/usb: Remove all strcpy() uses
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>
|
H A D | usbnet.c | diff 493c3ca6bd754d8587604496eb814f72e933075d Sun Aug 01 12:12:26 CDT 2021 Len Baker <len.baker@gmx.com> drivers/net/usb: Remove all strcpy() uses
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>
|