Skip to content

Return null on errors, don't crash #1

@vercas

Description

@vercas

Right now, the code assumes everything goes right, because it aborts when it doesn't.
I have attempted to do this but I have made far too many modifications on my fork to isolate them, plus I may not understand the code as well as I should.

Erroneous conditions should propagate (returning NULL from malloc and realloc), possibly setting errno as well.

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