Skip to content

Conversation

@Thalley
Copy link
Contributor

@Thalley Thalley commented Oct 29, 2024

The CAP tests used u_group->cig->index but the u_group->cig may have been deleted when the stream is released, which meant that u_group->cig == NULL when e.g. unicast_stop_complete_cb was called and that could cause failing tests as the index would just be a uninitialized value.

fixes #80551

The CAP tests used u_group->cig->index but the u_group->cig may
have been deleted when the stream is released, which meant
that u_group->cig == NULL when e.g. unicast_stop_complete_cb
was called and that could cause failing tests as the index
would just be a uninitialized value.

Signed-off-by: Emil Gydesen <[email protected]>
@Thalley Thalley added this to the v4.0.0 milestone Oct 29, 2024
@Thalley Thalley marked this pull request as ready for review October 29, 2024 09:28
@Thalley Thalley requested a review from kruithofa October 29, 2024 09:28
@zephyrbot zephyrbot added area: Bluetooth Audio area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth labels Oct 29, 2024
@Thalley Thalley added the bug The issue is a bug, or the PR is fixing a bug label Oct 30, 2024
@mmahadevan108 mmahadevan108 merged commit 5ebe119 into zephyrproject-rtos:main Oct 31, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Audio area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth bug The issue is a bug, or the PR is fixing a bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Bluetooth: Tester: CAP derefences NULL pointer (cig)

8 participants