Describe the bug
A clear and concise description of what the bug is.
Run with f-sanitizer detected run time error:
/home/vboxuser/Desktop/cFS/osal/src/os/vxworks/src/os-impl-console.c:124:15: runtime error: index 2 out of bounds for type 'OS_impl_console_internal_record_t [1]'
/home/vboxuser/Desktop/cFS/osal/src/os/vxworks/src/os-impl-console.c:125:15: runtime error: index 2 out of bounds for type 'OS_console_internal_record_t [1]'
To Reproduce
Steps to reproduce the behavior:
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
A clear and concise description of what you expected to happen.
Code snips
If applicable, add references to the software.
System observed on:
Hardware
OS: [e.g. Linux 4.4]
Versions [e.g. cFE 6.6, OSAL 4.2, PSP 1.3 for mcp750, any related apps]
Additional context
Add any other context about the problem here.
Reporter Info
Full name and company/organization if applicable
Describe the bug A clear and concise description of what the bug is.
Run with f-sanitizer detected run time error:
To Reproduce Steps to reproduce the behavior: 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 A clear and concise description of what you expected to happen.
Code snips If applicable, add references to the software.
System observed on:
Additional context Add any other context about the problem here.
Reporter Info Full name and company/organization if applicable
Anh Van, GSFC