Skip to content

Access of memory past the end of a memory buffer #2

@gaoethan

Description

@gaoethan

In the API malloc_ex() free_ex() realloc_ex() taking address with &tlsf->fl_bitmap yields a singleton pointer and passing &tlsf->fl_bitmap to function set_bit which uses it as an array. This might corrupt or misinterpret adjacent memory locations. Out-of-bounds access that memory not owned by this buffer will be accessed, causing memory corruption or incorrect computations.

#ros2/tlsf#5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions