Skip to content

check for NULL packet before using the pointer#243

Open
lsoest wants to merge 2 commits intoeclipse-threadx:devfrom
BerninaInternationalAG:add_nullptr_check
Open

check for NULL packet before using the pointer#243
lsoest wants to merge 2 commits intoeclipse-threadx:devfrom
BerninaInternationalAG:add_nullptr_check

Conversation

@lsoest
Copy link

@lsoest lsoest commented Jan 16, 2026

If the queue is empty dereferencing current_packet will fail.

fdesbiens and others added 2 commits January 14, 2026 11:01
Merging changes ahead of hotfix release 202504a
If the queue is empty we need the check here.
@fdesbiens fdesbiens changed the base branch from master to dev February 5, 2026 21:33
@fdesbiens fdesbiens requested a review from rahmanih February 5, 2026 21:33
@fdesbiens fdesbiens moved this to In review in ThreadX Roadmap Feb 5, 2026
Copy link
Contributor

@rahmanih rahmanih left a comment

Choose a reason for hiding this comment

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

LGTM 💯

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

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

3 participants