zephyr/drivers/bluetooth
Carles Cufi 02cee09308 drivers: bluetooth: spi: Check lengths in incoming headers
So far the lengths provided in event and ACL packets were not being
checked at all, which could have caused an overflow if the contents were
not to fit inside the net_buf.
Check the length and discard the packet when it doesn't fit.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2021-12-20 15:24:02 +01:00
..
hci drivers: bluetooth: spi: Check lengths in incoming headers 2021-12-20 15:24:02 +01:00
CMakeLists.txt drivers: bluetooth: build as static library 2021-08-17 06:06:03 -04:00
Kconfig drivers: create BT_DRIVERS Kconfig entry 2021-09-28 12:13:23 +02:00
util.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00