zephyr/subsys/usb
Johann Fischer 388001456c usb: bluetooth: check buffer tailroom before copying
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>
2022-01-26 11:54:31 +01:00
..
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