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: A2DP: Fix NULL pointer references issue #75368

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

lylezhu2012
Copy link
Contributor

The opposite logic is used to determine if a pointer is valid.

Correct the judgement logic.

Fixes #74732.

The opposite logic is used to determine if a
pointer is valid.

Correct the judgment logic.

Fixes #74732.

Signed-off-by: Lyle Zhu <[email protected]>
@aescolar aescolar added this to the v3.7.0 milestone Jul 5, 2024
@aescolar aescolar merged commit 6fad658 into zephyrproject-rtos:main Jul 5, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Classic area: Bluetooth Controller area: Bluetooth Host area: Bluetooth size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID: 392506] Dereference after null check in subsys/bluetooth/host/classic/a2dp.c
7 participants