Skip to content

Conversation

@kar-rahul-aws
Copy link
Member

Description

This PR adds configASSERT check for a NULL TCB Handle in case of APIs which use the function prvGetTCBFromHandle for getting a pointer to the appropriate TCB.

Test Steps

NA

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

#1173

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 2, 2024

@ActoryOu ActoryOu merged commit 7d76dce into FreeRTOS:main Nov 2, 2024
16 checks passed
@aggarg aggarg deleted the addASSERT branch November 4, 2024 08:32
moninom1 pushed a commit to moninom1/FreeRTOS-Kernel that referenced this pull request Sep 30, 2025
This commit updates the CMock unit tests according to the changes introduced
to FreeRTOS#982.

Co-authored-by: chinglee-iot <[email protected]>
Co-authored-by: Rahul Kar <[email protected]>
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.

3 participants