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> |
||
|---|---|---|
| .. | ||
| class | ||
| bos.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| os_desc.c | ||
| os_desc.h | ||
| usb_descriptor.c | ||
| usb_descriptor.h | ||
| usb_device.c | ||
| usb_transfer.c | ||
| usb_transfer.h | ||
| usb_work_q.c | ||
| usb_work_q.h | ||