Skip to content

check cJSON parser is used safely #7399

@jherrera-jump

Description

@jherrera-jump

cJSON_ParseWithLengthOpts seems to access memory one past the end of the parseable region, when when require_null_terminated is false. Buffers with should be sized with an extra byte or have an appropriate bounds check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions