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.
Dodgy test on line 221 fails on a 32 bit machine since 0 length returns a different error vs a buffer that is too small:
sizeof(TaskName) is either 4 or 8 since it's defined as a pointer on line 195. I think the intent was to pass in a buffer length that is too small.
Describe the solution you'd like
Do a 0 buffer length test and a buffer length to small test separately (and fix). Also the INVALID_NAME doesn't really follow case or use patterns, just pass in an invalid constant.
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Dodgy test on line 221 fails on a 32 bit machine since 0 length returns a different error vs a buffer that is too small:
cFE/modules/cfe_testcase/src/es_task_test.c
Lines 195 to 221 in 64a6a59
sizeof(TaskName) is either 4 or 8 since it's defined as a pointer on line 195. I think the intent was to pass in a buffer length that is too small.
Describe the solution you'd like
Do a 0 buffer length test and a buffer length to small test separately (and fix). Also the INVALID_NAME doesn't really follow case or use patterns, just pass in an invalid constant.
Describe alternatives you've considered
None
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: