Skip to content

Address sanitizer flagged stack buffer overflows in cs_compute_tests.c #117

@myc-yang

Description

@myc-yang

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions