Skip to content

security/realloc_reuse.c code does not work #205

@nishiken

Description

@nishiken

In realloc_reuse.c, realloc'ed pointer is not stored, and the result would be always [-].
The source code should be like this?:

    char *p = malloc_noinline(ALLOCATION_SIZE);
    char *q = p;
    p = realloc(p, 1024);

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