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 #96, Moved command validation out of command functions #97

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

havencarlson
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
Fixes #96, validate command before calling the command function instead of after.

Testing performed
Unit testing

Expected behavior changes
no impact to behavior

System(s) tested on
OS: Ubuntu 18.04

Contributor Info - All information REQUIRED for consideration of pull request
Haven Carlson - NASA

/*
** Set the next command time for the ATP
*/
SC_AppData.NextCmdTime[SC_ATP] = ListCmdTime;

Check failure

Code scanning / CodeQL

Potentially uninitialized local variable High

The variable
ListCmdTime
may not be initialized at this access.
@dzbaker dzbaker merged commit 6ad3a80 into nasa:main Sep 1, 2023
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apps should check/verify msg BEFORE calling handler
3 participants