nasa / osal

The Core Flight System (cFS) Operating System Abstraction Layer (OSAL)
Apache License 2.0
557 stars 218 forks source link

Fix #1466, Fix Address Sanitizer issue in vxworks-console-testrunner #1467

Closed avan989 closed 4 months ago

avan989 commented 4 months ago

Fix #1466, Fix address sanitizer issue in coverage-vxworks-console-testrunner by moving getting the Table only when it is an valid index.

Checklist (Please check before submitting)

Describe the contribution A clear and concise description of what the contribution is.

Testing performed Steps taken to test the contribution: add_compile_options( -fsanitize=address -fsanitize=undefined -fsanitize-recover=all -g ) add_link_options( -fsanitize=address -fsanitize=undefined -fsanitize-recover=all )

Make SIMULATION=native ENABLE_UNIT_TESTS=true prep

make install

Run Test

Expected behavior changes A clear and concise description of how this contribution will change behavior and level of impact.

System(s) tested on

Additional context Add any other context about the contribution here.

Third party code If included, identify any third party code and provide text file of license

Contributor Info - All information REQUIRED for consideration of pull request Full name and company/organization/center of all contributors ("Personal" if individual work)