-
Notifications
You must be signed in to change notification settings - Fork 253
Labels
bugsecurityunit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)
Milestone
Description
Is your feature request related to a problem? Please describe.
CodeQL warning on:
Line 479 in 09a2c5e
| #define UT_DEFAULT_IMPL_RC(FuncName, Rc) UT_DefaultStubImpl(#FuncName, UT_KEY(FuncName), Rc) |
Lines 845 to 855 in 09a2c5e
| int32 UT_DefaultStubImpl(const char *FunctionName, UT_EntryKey_t FuncKey, int32 DefaultRc, ...) | |
| { | |
| int32 Retcode; | |
| va_list va; | |
| va_start(va, DefaultRc); | |
| Retcode = UT_DefaultStubImplWithArgs(FunctionName, FuncKey, DefaultRc, va); | |
| va_end(va); | |
| return Retcode; | |
| } |
Describe the solution you'd like
Terminate list with NULL in macro
Describe alternatives you've considered
None
Additional context
CodeQL warning
Requester Info
Jacob Hageman - NASA/GSFC
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugsecurityunit-testTickets related to the OSAL unit testing (functional and/or coverage)Tickets related to the OSAL unit testing (functional and/or coverage)