zephyr/subsys/usb/class
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
..
audio usb: rework to use macro STRUCT_SECTION_FOREACH 2021-12-10 07:22:15 -06:00
dfu usb: rework to use macro STRUCT_SECTION_FOREACH 2021-12-10 07:22:15 -06:00
hid usb: rework to use macro STRUCT_SECTION_FOREACH 2021-12-10 07:22:15 -06:00
netusb usb: rework to use macro STRUCT_SECTION_FOREACH 2021-12-10 07:22:15 -06:00
bluetooth.c usb: bluetooth: check buffer tailroom before copying 2022-01-26 11:54:31 +01:00
bt_h4.c usb: rework to use macro STRUCT_SECTION_FOREACH 2021-12-10 07:22:15 -06:00
cdc_acm.c usb: class: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
CMakeLists.txt
Kconfig
Kconfig.bt
Kconfig.cdc usb: fix bulk endpoint configuration for high-speed capable device 2021-11-24 12:28:02 +01:00
Kconfig.msc usb: fix bulk endpoint configuration for high-speed capable device 2021-11-24 12:28:02 +01:00
Kconfig.template.composite_device_number
Kconfig.test usb: fix bulk endpoint configuration for high-speed capable device 2021-11-24 12:28:02 +01:00
loopback.c usb: rework to use macro STRUCT_SECTION_FOREACH 2021-12-10 07:22:15 -06:00
msc.c usb: rework to use macro STRUCT_SECTION_FOREACH 2021-12-10 07:22:15 -06:00