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

wast2json assertion failure when file contains malformed module #1399

Open
gumb0 opened this issue Apr 28, 2020 · 0 comments
Open

wast2json assertion failure when file contains malformed module #1399

gumb0 opened this issue Apr 28, 2020 · 0 comments

Comments

@gumb0
Copy link
Contributor

gumb0 commented Apr 28, 2020

For the input file

(module quote "")

wast2json 1.0.13 crashes:

$ wast2json malformed.wast --no-check
wast2json: /home/andrei/dev/wabt/src/wast-parser.cc:474: wabt::Token wabt::WastParser::Consume(): Assertion `!tokens_.empty()' failed.
Aborted (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant