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 #817, Simplify name truncation in OS_CreateSocketName #818

Merged

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Feb 17, 2021

Describe the contribution
Fix #817 - just truncating at the end for socket name (not possibly 3 different locations)

Testing performed
Built and executed unit tests, passed

Expected behavior changes
Will just truncate socket name at the end

System(s) tested on

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

Additional context
Note coverage test isn't doing full branch coverage, still getting full line coverage. Branch coverage is an existing issue.

Third party code
None

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

@skliper skliper added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Feb 17, 2021
@skliper skliper added this to the 6.0.0 milestone Feb 17, 2021
@astrogeco
Copy link
Contributor

CCB:2021-02-17 APPROVED

  • Nothing was really broken but logic was confusing. Moved truncation to the very end.

@astrogeco astrogeco added IC:2021-02-23 and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Feb 17, 2021
@astrogeco astrogeco changed the base branch from main to integration-candidate February 24, 2021 03:33
@astrogeco astrogeco merged commit 9a4536b into nasa:integration-candidate Feb 24, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Feb 24, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Feb 26, 2021
@skliper skliper deleted the fix817-unreasonable_size branch April 1, 2021 20:07
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
Fix nasa#818, Return message address from CFE_SB_SendMsg stub
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.

Unreasonable Size Argument - OS_CreateSocketName static analysis warning
2 participants