CS icon indicating copy to clipboard operation
CS copied to clipboard

Address sanitizer flagged stack buffer overflows in cs_compute_tests.c

Open myc-yang opened this issue 8 months ago • 0 comments

In draco, when I enabled the address sanitizer, it flagged a stack buffer overflow in CS_RecomputeAppChildTask_Test_CouldNotGetAddress() (https://github.com/nasa/CS/blob/draco-rc5/unit-test/cs_compute_tests.c#L1456) because the test goes past the boundary of DefAppTbl (https://github.com/nasa/CS/blob/draco-rc5/unit-test/cs_compute_tests.c#L1459).

myc-yang avatar Jun 02 '25 16:06 myc-yang