Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Blocks when parsing "test:" #14

@davidmoreno

Description

@davidmoreno

Used from elixir (I don't think it matters), but when executing:

iex> :yamerl.decode("test:")

or

iex> :yamerl_constr.string("test:") 

It blocks forever, using 100% CPU.

It should return some kind of error about invalid YAML, or an object with .

For comparison, Python's yaml module, returns: {'test':None}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions