Skip to content

Fix nasa#155 - Replaced zero with NULL in #define HS_MEMBER_SIZE. - #156

Open
myc-yang wants to merge 1 commit into
nasa:devfrom
myc-yang:155-replace-zero-with-null-hs-mat-table
Open

Fix nasa#155 - Replaced zero with NULL in #define HS_MEMBER_SIZE.#156
myc-yang wants to merge 1 commit into
nasa:devfrom
myc-yang:155-replace-zero-with-null-hs-mat-table

Conversation

@myc-yang

@myc-yang myc-yang commented Aug 7, 2026

Copy link
Copy Markdown

Checklist (Please check before submitting)

Describe the contribution
Fixes #155 - Replaced zero with NULL in #define HS_MEMBER_SIZE.

Testing performed
Ran the Axle static code analysis tool and it no longer reported any findings in hs_mat.c when I ran the literal-zero-used-as-null-pointer query.

Expected behavior changes
No impact to behavior

System(s) tested on

  • Hardware: PC
  • OS: Linux 9.8

Additional context
Add any other context about the contribution here.

Third party code
If included, identify any third party code and provide text file of license

Contributor Info - All information REQUIRED for consideration of pull request
Michael Yang / NASA GSFC

For members of the cFS Team
Click the Preview tab and select the pull request template corresponding to the type of change you are submitting:

@myc-yang
myc-yang force-pushed the 155-replace-zero-with-null-hs-mat-table branch 2 times, most recently from 707eeea to 71181d6 Compare August 7, 2026 17:52
@myc-yang
myc-yang force-pushed the 155-replace-zero-with-null-hs-mat-table branch from 71181d6 to 64a779d Compare August 7, 2026 17:54
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.

Default HS Message Actions Table uses zeroes instead of NULL pointers

2 participants