Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #737, UT_Stub_CheckForceFail -> UT_Stub_CheckDefaultReturnValue #823

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Feb 17, 2021

Describe the contribution
Fix #737 - renames UT_Stub_CheckForceFail to UT_Stub_CheckDefaultReturnValue, also only sets Value if not NULL (can pass in NULL value doesn't matter)

Testing performed
Build and execute unit tests (with corresponding nasa/cFE#1173)

Expected behavior changes
None, name change

System(s) tested on

Additional context
None

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@astrogeco
Copy link
Contributor

CCB 2021-02-24 APPROVED

@astrogeco astrogeco changed the base branch from main to integration-candidate February 26, 2021 15:36
@astrogeco astrogeco merged commit 2f6e54e into nasa:integration-candidate Feb 26, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Feb 26, 2021
@skliper skliper deleted the fix737-force_fail branch April 1, 2021 20:06
jphickey added a commit to jphickey/osal that referenced this pull request Aug 10, 2022
The CFE_ES_FindCDSInRegistry function had an unusual loop control
structure with mixed types of signed and unsigned.

This has the possibility of being infinite if the MaxNumRegEntries
is zero due to the way the end condition is structured.

Simplify to be like other loops and use unsigned int control variable.
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Fix nasa#823, avoid infinite loop in CDS registry find
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deprecate UT_Stub_CheckForceFail()
2 participants