Skip to content

Bluetooth: Controller: Fix a potential NULL pointer dereference #92920

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ljd42
Copy link
Contributor

@ljd42 ljd42 commented Jul 9, 2025

Fix a potential NULL pointer dereference for skip_fields in the function ull_adv_sync_copy_pdu_header. This issue been reported by Coverity.

Coverity CID: 392529
Fixes: #74738

Fix a potential NULL pointer dereference for skip_fields in the function
ull_adv_sync_copy_pdu_header. This issue been reported by Coverity.

Coverity CID: 392529

Signed-off-by: Loic Domaigne <tech@domaigne.com>
Copy link

sonarqubecloud bot commented Jul 9, 2025

@ljd42
Copy link
Contributor Author

ljd42 commented Jul 9, 2025

Not sure if it's the best way to solve this problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID: 392529] Dereference after null check in subsys/bluetooth/controller/ll_sw/ull_adv_sync.c
3 participants