Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth: Host: ISO buffer not unreffed #77006

Closed
theob-pro opened this issue Aug 13, 2024 · 0 comments · Fixed by #77008
Closed

Bluetooth: Host: ISO buffer not unreffed #77006

theob-pro opened this issue Aug 13, 2024 · 0 comments · Fixed by #77008
Assignees
Labels
area: Bluetooth Host Bluetooth Host (excluding BR/EDR) bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@theob-pro
Copy link
Contributor

** Describe the bug **

When sending data using ISO and the data is fragmented, if the connection is cut before all the fragments are sent, the data buffer will not get destroyed and will be leaked.

** To reproduce **

Create an ISO broadcaster that will sent fragmented SDU. Terminate the ISO BIS after the first fragment is sent. Repeat that until you run out of buffers.

The following BabbleSim test reproduce the issue: theob-pro@e2d8225

** Expected behavior **

The data buffers should not leak when the ISO connection is lost.

@theob-pro theob-pro added bug The issue is a bug, or the PR is fixing a bug area: Bluetooth Host Bluetooth Host (excluding BR/EDR) labels Aug 13, 2024
@theob-pro theob-pro self-assigned this Aug 13, 2024
@mmahadevan108 mmahadevan108 added the priority: low Low impact/importance bug label Aug 13, 2024
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) bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants