Prevent potential buffer overflow when encapsulated response is more than CONFIG_USB_REQUEST_BUFFER_SIZE. Log error and truncate response if USB control transfer request buffer is not large enough. Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| function_ecm.c | ||
| function_eem.c | ||
| function_rndis.c | ||
| function_rndis.h | ||
| Kconfig | ||
| netusb.c | ||
| netusb.h | ||