Skip to content

Parsing will cause NULL pointer exceptions when parsing malformed sentences. #154

@jpuderer

Description

@jpuderer

p = strchr(p, ',') + 1; // Skip to char after the next comma, then check.

These strchr expressions are everywhere in the code, and will result in a null pointer exception if ever fed a malformed sentence that's missing a comma somewhere. If that's a limitation fine, but it makes the library pretty intolerant to line noise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions