Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocks when parsing "test:" #14

Closed
davidmoreno opened this issue Oct 26, 2016 · 1 comment
Closed

Blocks when parsing "test:" #14

davidmoreno opened this issue Oct 26, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@davidmoreno
Copy link

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}

@dumbbell
Copy link
Collaborator

Thank you for the bug report!

@dumbbell dumbbell added the bug label Oct 29, 2016
@dumbbell dumbbell added this to the v0.3.3-1 milestone Oct 29, 2016
@dumbbell dumbbell self-assigned this Oct 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants