Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions