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
Is your feature request related to a problem? Please describe. CFE_FS_ParseInputFileName handler sets output to input as last resort (avoids uninit vars). CFE_FS_ParseInputFileNameEx only sets the output to default if default isn't null, so there's cases in the ES unit test where the output isn't initialized since there is no default value.
Is your feature request related to a problem? Please describe.
CFE_FS_ParseInputFileName
handler sets output to input as last resort (avoids uninit vars).CFE_FS_ParseInputFileNameEx
only sets the output to default if default isn't null, so there's cases in the ES unit test where the output isn't initialized since there is no default value.cFE/modules/core_api/ut-stubs/src/cfe_fs_handlers.c
Lines 171 to 176 in c161cf0
Describe the solution you'd like
If
DefaultInput
is NULL, useInputName
Describe alternatives you've considered
None
Additional context
Any unit that uses
CFE_FS_ParseInputFileNameEx
with a NULL default risks uninit var, example:cFE/modules/es/fsw/src/cfe_es_task.c
Lines 879 to 882 in c161cf0
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: