Skip to content
Commit 3a06d3d5 authored by Johan Hedberg's avatar Johan Hedberg Committed by Anas Nashif
Browse files

Bluetooth: L2CAP: Fix missing buffer length check for sdu_len



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: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 3c1fb27e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment