We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Pack_Time
Hi,
Bug: in https://github.com/nasa/SBN/blob/main/fsw/src/sbn_pack.c#L55, D is uninitialized and packed into PackPtr
D
PackPtr
Solution: the return value from OS_TimeAssembleFromMicroseconds() should be assigned to D.
OS_TimeAssembleFromMicroseconds()
Root cause: this change introduced the bug.
This bug was found with CPPcheck: Line 24: Uninitialized variable: DataBuf
Line 24: Uninitialized variable: DataBuf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Bug: in https://github.com/nasa/SBN/blob/main/fsw/src/sbn_pack.c#L55,
D
is uninitialized and packed intoPackPtr
Solution: the return value from
OS_TimeAssembleFromMicroseconds()
should be assigned toD
.Root cause: this change introduced the bug.
This bug was found with CPPcheck:
Line 24: Uninitialized variable: DataBuf
The text was updated successfully, but these errors were encountered: