Skip to content

Fix #502, Initialize Variable msg_size in cf_cfdp_sbintf.c#503

Open
arielswalker wants to merge 1 commit into
nasa:devfrom
arielswalker:fix-502-initialize-variable-getsize
Open

Fix #502, Initialize Variable msg_size in cf_cfdp_sbintf.c#503
arielswalker wants to merge 1 commit into
nasa:devfrom
arielswalker:fix-502-initialize-variable-getsize

Conversation

@arielswalker

@arielswalker arielswalker commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Checklist (Please check before submitting)

Describe the contribution
Fixes #502

Testing performed
Workflows and reran CodeSonar. CodeSonar analysis link provided in the internal GitHub issue.

Expected behavior changes
Resolve CodeSonar warning of Uninitialized Variable in cf_cfdp_sbintf.c

System(s) tested on
GitHub Actions and CodeSonar

Additional context
When only msg_size was updated, CodeSonar flagged bufptr as uninitialized. Therefore, bufptr was also updated and CodeSonar was ran again which resolved both uninitialized variable warnings.

Contributor Info - All information REQUIRED for consideration of pull request
Ariel Walker, MCSG TECH.

@arielswalker arielswalker self-assigned this Jun 16, 2026
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.

Uninitialized Variables in cf_cfdp_sbintf.c

2 participants