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 #777, Static allocation of DummyVec in OSC_INUM_TO_IVEC stub #778

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Feb 9, 2021

Describe the contribution
Fix #777, declares DummyVec as static to avoid warning (and returning stack allocated memory) when returning VecTbl.

Testing performed
Build and execute unit tests, passed.

Expected behavior changes
Bug in stub fixed (could have been issues if return value used).

System(s) tested on

  • Hardware: cFS Dev Server
  • OS: Ubuntu 18.04
  • Versions: cFS Bundle + this commit

Additional context
CodeQL warning resolution

Third party code
None

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

@skliper skliper added this to the 6.0.0 milestone Feb 9, 2021
@skliper skliper requested a review from jphickey February 9, 2021 15:21
@astrogeco astrogeco changed the base branch from main to integration-candidate February 12, 2021 20:43
@astrogeco astrogeco merged commit 68d0e7f into nasa:integration-candidate Feb 12, 2021
@skliper skliper deleted the fix777-inum_to_ivec branch April 1, 2021 20:07
jphickey added a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Provides ability to load UT assert as a CFE app, and an example
of using this to test some basic CFE ES functions.
jphickey added a commit to jphickey/osal that referenced this pull request Aug 10, 2022
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
jphickey added a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Provides ability to load UT assert as a CFE app, and an example
of using this to test some basic CFE ES functions.

This introduces a separate library for the basic UT assert functions
(cfe_assert) and an app that executes the test (cfe_testrunner) rather
than combining these into a single module.
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
Revert "Fix nasa#778, add cfe assert and example lib"
jphickey pushed a commit to jphickey/osal that referenced this pull request Aug 10, 2022
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.

OSC_INUM_TO_IVEC stub returning stack allocated memory
3 participants