Skip to content

Commit

Permalink
Merge pull request #2579 from avan989:Fix-2576-address-sanitizer-es-ALL
Browse files Browse the repository at this point in the history
Fix #2576, Runtime Error in coverage-es-ALL, TestApps
  • Loading branch information
dzbaker committed Aug 2, 2024
2 parents d0e9564 + 2257d56 commit b524c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/es/fsw/src/cfe_es_apps.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void CFE_ES_StartApplications(uint32 ResetType, const char *StartFilePath)
BuffLen++;

++NumTokens;
if (NumTokens < CFE_ES_STARTSCRIPT_MAX_TOKENS_PER_LINE)
if (NumTokens < CFE_ES_STARTSCRIPT_MAX_TOKENS_PER_LINE && !LineTooLong)
{
/*
* NOTE: pointer never dereferenced unless "LineTooLong" is false.
Expand Down

0 comments on commit b524c69

Please sign in to comment.