You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Pass in uninitialized FileMode, observe not cleared on OS_stat failure.
Expected behavior
Should clear all values.
System observed on:
Observation
Additional context
Low likelihood of ever seeing this (maybe file deleted between directory read and OS_stat?), and just would write uninitialized data to the output.
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
Checklist (Please check before submitting)
Describe the bug
FileMode could be uninitilized when written if there's an OS_stat failure since it's not cleared:
FM/fsw/src/fm_child.c
Lines 1587 to 1610 in 9210c2d
To Reproduce
Pass in uninitialized FileMode, observe not cleared on OS_stat failure.
Expected behavior
Should clear all values.
System observed on:
Observation
Additional context
Low likelihood of ever seeing this (maybe file deleted between directory read and OS_stat?), and just would write uninitialized data to the output.
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: