Skip to content

Segfault when parsing with TOML_EXCEPTIONS=0 #65

@sneves

Description

@sneves

A very simple case, once again: parsing "#\xf1\x63" when disabling exceptions. The crash occurs in parser::parse_document when trying to continue parsing after reader.read_next() returns nullptr.

I'm not entirely sure why it happens; it looks like consume_comment should return false on advance_and_return_if_error({}), but somehow it does return true instead.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions