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 usb: bluetooth: check buffer tailroom before copying 2022-01-26 11:54:31 +01:00
bos.c usb: use new USB framework header 2021-08-03 13:20:07 +02:00
CMakeLists.txt usb: add optional work queue 2020-09-16 13:32:22 -05:00
Kconfig usb: move USB_DEVICE_REMOTE_WAKEUP option to drivers 2021-11-08 17:01:32 +01:00
os_desc.c usb: use new USB framework header 2021-08-03 13:20:07 +02:00
os_desc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
usb_descriptor.c usb: rework to use macro STRUCT_SECTION_FOREACH 2021-12-10 07:22:15 -06:00
usb_descriptor.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
usb_device.c usb: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
usb_transfer.c usb: fix possible deadlock in usb_transfer_sync() 2021-01-26 07:21:13 -05:00
usb_transfer.h usb: fix header language linkage 2020-09-16 13:32:22 -05:00
usb_work_q.c usb: conversion of k_work API 2021-04-15 12:29:34 -04:00
usb_work_q.h usb: add optional work queue 2020-09-16 13:32:22 -05:00