Skip to content

heap buffer overflow #8

@ghost

Description

in line

memcpy(block->filename, parser->src.filename, sizeof(block->filename));

in some case the size of block->filename will surpass the size of parser->src.filename, which will leak the heap information. This can be detected by ASAN.

image

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