Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Oct 30, 2025

Backport ec970a6 from #98405.

Fixes #98469

When alloc the evt buffer,such as the adv report, only compare the
remaining data len, should aslo consider the hdr_len, because the
hdr also copy to alloced buffer.if not consider the hdr, then
hdr + remaining data may larger than alloced buffer, because the
alloced buffer is not enough,then will assert when receive the
remaining data.

Signed-off-by: Guotao Zhang <[email protected]>
(cherry picked from commit ec970a6)
@github-actions github-actions bot added the Backport Backport PR and backport failure issues label Oct 30, 2025
@github-project-automation github-project-automation bot moved this to To do in Backports Oct 30, 2025
@JarmouniA JarmouniA closed this Oct 30, 2025
@github-project-automation github-project-automation bot moved this from To do to Done in Backports Oct 30, 2025
@JarmouniA JarmouniA reopened this Oct 30, 2025
@github-project-automation github-project-automation bot moved this from Done to Needs more info in Backports Oct 30, 2025
@zephyrbot zephyrbot added area: Bluetooth size: XS A PR changing only a single line of code area: Bluetooth HCI Bluetooth HCI Driver labels Oct 30, 2025
@sonarqubecloud
Copy link

@dkalowsk dkalowsk added this to the v4.2.2 milestone Nov 3, 2025
@dkalowsk dkalowsk merged commit 57ab471 into v4.2-branch Nov 3, 2025
35 of 36 checks passed
@dkalowsk dkalowsk deleted the backport-98405-to-v4.2-branch branch November 3, 2025 18:35
@github-project-automation github-project-automation bot moved this from Needs more info to Done in Backports Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth HCI Bluetooth HCI Driver area: Bluetooth Backport Backport PR and backport failure issues size: XS A PR changing only a single line of code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

8 participants