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_TBL_FindTableInRegistery returns int16, RegIndex is defined as uint32 and only checked for error (negative)
/* Before doing anything, lets make sure the table is no longer in the registry */
/* This would imply that the owning application has been terminated and that it */
/* is safe to delete the associated critical table image in the CDS. */
RegIndex=CFE_TBL_FindTableInRegistry(TableName);
if (RegIndex==CFE_TBL_NOT_FOUND)
The last parameter passed to CFE_ES_FileWriteByteCntErr for both uses is Status (int32), yet it expects size_t... seems like this isn't defined correctly?
Is your feature request related to a problem? Please describe.
CFE_TBL_FindTableInRegistery returns int16, RegIndex is defined as uint32 and only checked for error (negative)
cFE/fsw/cfe-core/src/tbl/cfe_tbl_task_cmds.c
Lines 1416 to 1428 in 672b2dc
The last parameter passed to CFE_ES_FileWriteByteCntErr for both uses is Status (int32), yet it expects size_t... seems like this isn't defined correctly?
cFE/fsw/cfe-core/src/es/cfe_es_syslog.c
Line 554 in 672b2dc
cFE/fsw/cfe-core/src/es/cfe_es_perf.c
Line 469 in 672b2dc
cFE/fsw/cfe-core/src/es/cfe_es_task.h
Line 204 in 672b2dc
Not a bug, just an inconsistency warnings
Describe the solution you'd like
Correct type
Describe alternatives you've considered
None
Additional context
Static analysis warning
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: