Skip to content

Writing behind the allocated memory #26

@jernst

Description

@jernst

Code excerpt:

input = vmalloc(len);
...
input[len] = '\0';

From

input = vmalloc(len);

That should be:

input = vmalloc(len+1);
...
input[len] = '\0';

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