Bluetooth: classic: avdtp: missing buffer length check #78608
Labels
area: Bluetooth Classic
Bluetooth Classic (BR/EDR)
area: Bluetooth
Backport
Backport PR and backport failure issues
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Stale
Milestone
Describe the bug
Missing buffer length check before pulling the data from net buffer in function
bt_avdtp_l2cap_recv
.To Reproduce
N/A
Expected behavior
Check the remaining buffer length before pulling the data from the net buffer.
Impact
May cause system crash.
Logs and console output
N/A
Environment (please complete the following information):
N/A
Additional context
The text was updated successfully, but these errors were encountered: