Skip to content

bluetooth-fw/nimble: fix potential NULL access on service discovery#446

Merged
gmarull merged 1 commit into
coredevices:mainfrom
teslabs:hardfault-fix
Nov 10, 2025
Merged

bluetooth-fw/nimble: fix potential NULL access on service discovery#446
gmarull merged 1 commit into
coredevices:mainfrom
teslabs:hardfault-fix

Conversation

@gmarull
Copy link
Copy Markdown
Member

@gmarull gmarull commented Nov 10, 2025

On certain cases, we could call prv_discover_next_dscs() without checking if context->current_characteristic was NULL or not, causing a later hardfault.

Fixes FIRM-751

On certain cases, we could call prv_discover_next_dscs() without
checking if context->current_characteristic was NULL or not, causing a
later hardfault.

Fixes FIRM-751

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
@gmarull gmarull requested a review from jplexer November 10, 2025 14:43
@gmarull gmarull merged commit 24bc714 into coredevices:main Nov 10, 2025
18 checks passed
@gmarull gmarull deleted the hardfault-fix branch November 10, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants