Skip to content

Assert while parsing valid yaml with ':' in text #361

@svart-riddare

Description

@svart-riddare

While parsing:

value:
  description:
    Timecode in "HH:MM:SS:FF" format where the last ':' can be replaced by ',' or ';'.

rapidyam 0.5.0 asserts in csubstr Parser::_consume_scalar(), on RYML_CHECK(m_state->flags & SSCL);.

YAML contains tricky ":" in text string but is considered valid by online validators and is read correctly by libyaml.

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