Skip to content

Address sanitizer flagged stack buffer overflows in sc_loads_tests.c #148

@myc-yang

Description

@myc-yang

I enabled the address sanitizer and it flagged

SC_LoadAts_Test_AtsEntryOverflow(void)

https://github.com/nasa/SC/blob/draco-rc5/unit-test/sc_loads_tests.c#L412

for a stack buffer overflows.

The issue, is that the function

AtsTable size is too small.

https://github.com/nasa/SC/blob/draco-rc5/unit-test/sc_loads_tests.c#L416

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions