Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
host/ble_l2cap_coc: coc_rx.sdus index should not exceed BLE_L2CAP_SDU…
…_BUFF_CNT Multiple calls to `ble_l2cap_coc_recv_ready` with `BLE_L2CAP_SDU_BUFF_CNT == 1` will lead to assigning coc_rx.sdus outside array range - so this will (most likely) overwrite rest of stucture. This will lead to either undefined behavior or crash when structure members are accessed.
- Loading branch information