Skip to content

stage_mem_gc and thmap_del don't handle malloc failure #11

@riastradh

Description

@riastradh

thmap/src/thmap.c

Lines 836 to 838 in 8149b27

gc = malloc(sizeof(thmap_gc_t));
gc->addr = addr;
gc->len = len;

thmap_del API has no way to report allocation failure to the caller.

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