commit | 493c3ca6bd754d8587604496eb814f72e933075d | [log] [tgz] |
---|---|---|
author | Len Baker <len.baker@gmx.com> | Sun Aug 01 19:12:26 2021 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 03 11:48:28 2021 +0100 |
tree | 370ce9459825c597ebb1b30b6ef0c2864c1e784d | |
parent | 9c638eaf42ec8d62ed028feb7a5b7f2759087971 [diff] |
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>