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

Uninitialized FileStats in FM_GetVolumeFreeSpace #109

Closed
2 tasks done
skliper opened this issue Jul 17, 2023 · 0 comments · Fixed by #110
Closed
2 tasks done

Uninitialized FileStats in FM_GetVolumeFreeSpace #109

skliper opened this issue Jul 17, 2023 · 0 comments · Fixed by #110

Comments

@skliper
Copy link
Contributor

skliper commented Jul 17, 2023

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

Describe the bug
Uninitialized variable warning in CodeSonar:

OS_statvfs_t FileStats;

from:

OS_Status = OS_FileSysStatVolume(FileSys, &FileStats);

To Reproduce
Run static analysis

Expected behavior
No uninitialized variable warnings

System observed on:
Static analysis

Additional context
None

Reporter Info
Jacob Hageman - NASA/GSFC

@skliper skliper added this to the Equuleus milestone Jul 17, 2023
@skliper skliper self-assigned this Jul 17, 2023
dzbaker added a commit that referenced this issue Aug 31, 2023
Fix #109, Uninitialized FileStats in FM_GetVolumeFreeSpace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants