Skip to content

Conversation

zephyrbot
Copy link

Backport 0ba94379381f3e58994a94497c327d7cad9c1227~1..0ba94379381f3e58994a94497c327d7cad9c1227 from #32588

We should verify that the buffer has sufficient data before attempting
to parse the SDU length field. If we get a too short packet just
disconnect the channel.

Fixes #32497

Signed-off-by: Johan Hedberg <[email protected]>
@github-actions github-actions bot added area: Bluetooth area: Bluetooth Host Bluetooth Host (excluding BR/EDR) labels Mar 19, 2021
@nashif nashif merged commit 61682bd into v2.5-branch Mar 22, 2021
@galak galak deleted the backport-32588-to-v2.5-branch branch June 10, 2021 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants