Skip to content

Fix nasa/sc#176, Replaced zero with NULL in #define SC_MEMBER_SIZE. - #177

Open
myc-yang wants to merge 1 commit into
nasa:devfrom
myc-yang:176-replace-zero-with-null-sc-ats-rts-tables
Open

Fix nasa/sc#176, Replaced zero with NULL in #define SC_MEMBER_SIZE.#177
myc-yang wants to merge 1 commit into
nasa:devfrom
myc-yang:176-replace-zero-with-null-sc-ats-rts-tables

Conversation

@myc-yang

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

Copy link
Copy Markdown

Checklist (Please check before submitting)

Describe the contribution
Fixes #176 - Replaced zero with NULL in #define SC_MEMBER_SIZE.

Testing performed
Ran the Axle static code analysis tool and it no longer reported any findings in sc_ats1.c, sc_rts001.c, sc_rts002.c, sc_rts003.c, and sc_rts004.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

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

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 SC Table uses zeroes instead of NULL pointers

2 participants