388001456c
If HCI packet length is greater than endpoint MPS or currently received data block (over USB), next block could be larger than allocated net_buf buffer. Check buffer tailroom before copying data using net_buf_add_mem(). Signed-off-by: Johann Fischer <johann.fischer@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 |