Skip to content

Fix #440 - rename parameter in CFE_PSP_MemSet handler to align with stub and actual code#441

Merged
dzbaker merged 1 commit intonasa:mainfrom
CDKnightNASA:fix440-memset_handler_param
Dec 10, 2024
Merged

Fix #440 - rename parameter in CFE_PSP_MemSet handler to align with stub and actual code#441
dzbaker merged 1 commit intonasa:mainfrom
CDKnightNASA:fix440-memset_handler_param

Conversation

@CDKnightNASA
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
Addresses a mis-match with the parameter name in the CFE_PSP_MemSet handler and stub.

Testing performed
Built cFS with change, including coverage test that uncovered this issue.

Expected behavior changes

  • Behavior Change: Correct handler behavior.

System(s) tested on
Oracle Linux 8

Contributor Info - All information REQUIRED for consideration of pull request
Christopher.D.Knight@nasa.gov

@CDKnightNASA
Copy link
Contributor Author

Seems PSP_MemCopy handler/stub has the same problem, I'll fix and rebase.

…andlers to align with stub and actual code
@CDKnightNASA CDKnightNASA force-pushed the fix440-memset_handler_param branch from 45d98d7 to 799d25a Compare November 20, 2024 17:26
@CDKnightNASA
Copy link
Contributor Author

also fixed CFE_PSP_MemCpy

@dzbaker dzbaker added the CCB:Approved Indicates Approval by CCB label Nov 21, 2024
dzbaker added a commit to nasa/cFS that referenced this pull request Dec 10, 2024
*Combines:*

cFE equuleus-rc1+dev219
osal equuleus-rc1+dev93
PSP equuleus-rc1+dev55
cFS-GroundSystem equuleus-rc1+dev14

**Includes:**

*cFE*
- nasa/cFE#2308
- nasa/cFE#2612
- nasa/cFE#2616
- nasa/cFE#2309

*osal*
- nasa/osal#1486

*PSP*
- nasa/PSP#441

*cFS-GroundSystem*
- nasa/cFS-GroundSystem#233
- nasa/cFS-GroundSystem#235
- nasa/cFS-GroundSystem#236

Co-authored by: Avi Weiss <thnkslprpt@users.noreply.github.com>
Co-authored by: Tvisha Andharia <tandharia@users.noreply.github.com>
Co-authored by: Chris Knight <CDKnightNASA@users.noreply.github.com>
@dzbaker dzbaker mentioned this pull request Dec 10, 2024
2 tasks
dzbaker added a commit to nasa/cFS that referenced this pull request Dec 10, 2024
*Combines:*

cFE equuleus-rc1+dev219
osal equuleus-rc1+dev93
PSP equuleus-rc1+dev55
cFS-GroundSystem equuleus-rc1+dev14

**Includes:**

*cFE*
- nasa/cFE#2308
- nasa/cFE#2612
- nasa/cFE#2616
- nasa/cFE#2309

*osal*
- nasa/osal#1486

*PSP*
- nasa/PSP#441

*cFS-GroundSystem*
- nasa/cFS-GroundSystem#233
- nasa/cFS-GroundSystem#235
- nasa/cFS-GroundSystem#236

Co-authored by: Avi Weiss <thnkslprpt@users.noreply.github.com>
Co-authored by: Tvisha Andharia <tandharia@users.noreply.github.com>
Co-authored by: Chris Knight <CDKnightNASA@users.noreply.github.com>
void * dest = UT_Hook_GetArgValueByName(Context, "dest", void *);
const void *src = UT_Hook_GetArgValueByName(Context, "src", const void *);
uint32 size = UT_Hook_GetArgValueByName(Context, "size", uint32);
uint32 n = UT_Hook_GetArgValueByName(Context, "n", uint32);
Copy link
Contributor

Choose a reason for hiding this comment

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

Renamed variable was not updated in memcpy() on line 54. I've corrected this in commit e0fd658.

@dzbaker dzbaker merged commit 2916bae into nasa:main Dec 10, 2024
dzbaker added a commit to nasa/cFS that referenced this pull request Dec 10, 2024
*Combines:*

cFE equuleus-rc1+dev219
osal equuleus-rc1+dev93
PSP equuleus-rc1+dev55
cFS-GroundSystem equuleus-rc1+dev14

**Includes:**

*cFE*
- nasa/cFE#2308
- nasa/cFE#2612
- nasa/cFE#2616
- nasa/cFE#2309

*osal*
- nasa/osal#1486

*PSP*
- nasa/PSP#441

*cFS-GroundSystem*
- nasa/cFS-GroundSystem#233
- nasa/cFS-GroundSystem#235
- nasa/cFS-GroundSystem#236

Co-authored by: Avi Weiss <thnkslprpt@users.noreply.github.com>
Co-authored by: Tvisha Andharia <tandharia@users.noreply.github.com>
Co-authored by: Chris Knight <CDKnightNASA@users.noreply.github.com>
@dzbaker dzbaker added this to the v7.0.0 milestone Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CCB:Approved Indicates Approval by CCB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants