diff --git a/modules/es/fsw/src/cfe_es_apps.c b/modules/es/fsw/src/cfe_es_apps.c index 098510136..b213f7820 100644 --- a/modules/es/fsw/src/cfe_es_apps.c +++ b/modules/es/fsw/src/cfe_es_apps.c @@ -295,6 +295,8 @@ int32 CFE_ES_ParseFileEntry(const char **TokenList, uint32 NumTokens) int32 Status; CFE_ES_AppStartParams_t ParamBuf; + memset(&ParamBuf, 0, sizeof(ParamBuf)); + /* ** Check to see if the correct number of items were parsed */ diff --git a/modules/es/fsw/src/cfe_es_task.c b/modules/es/fsw/src/cfe_es_task.c index 4f03ba7c4..02f5506c6 100644 --- a/modules/es/fsw/src/cfe_es_task.c +++ b/modules/es/fsw/src/cfe_es_task.c @@ -639,6 +639,8 @@ int32 CFE_ES_StartAppCmd(const CFE_ES_StartAppCmd_t *data) char LocalAppName[OS_MAX_API_NAME]; CFE_ES_AppStartParams_t StartParams; + memset(&StartParams, 0, sizeof(StartParams)); + /* Create local copies of all input strings and ensure null termination */ Result = CFE_FS_ParseInputFileNameEx(StartParams.BasicInfo.FileName, cmd->AppFileName, sizeof(StartParams.BasicInfo.FileName), sizeof(cmd->AppFileName), NULL,