Skip to content

Conversation

@sjanc
Copy link
Contributor

@sjanc sjanc commented Nov 6, 2025

Make sure assertion is true before dereferencing chan->iso. In extreme case compiler could skip assert check (asume it is always false) if address was already dereferenced.

Thalley
Thalley previously approved these changes Nov 6, 2025
Copy link
Contributor

@Thalley Thalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change is fine with one minor suggestion

Make sure assertion is true before dereferencing chan->iso. In extreme
case compiler could skip assert check (asume it is always false) if address
was already dereferenced.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 6, 2025

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@jhedberg jhedberg added this to the v4.4.0 milestone Nov 11, 2025
@jhedberg jhedberg merged commit d53a165 into zephyrproject-rtos:main Nov 13, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth ISO Bluetooth LE Isochronous Channels area: Bluetooth

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants