Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upNull pointer Deference in wasm::SExpressionWasmBuilder::parseExpression(wasm::Element&) in wasm-s-parser.cpp #1867
Comments
added a commit
that referenced
this issue
Jan 15, 2019
This comment has been minimized.
This comment has been minimized.
Thanks! Fix in #1869. |
kripken
closed this
in
cbb24eb
Jan 16, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wcventure commentedJan 13, 2019
Hi, there.
A Null pointer Deference problem was discovered in wasm::SExpressionWasmBuilder::parseExpression(wasm::Element&) in wasm-s-parser.cpp. A crafted wasm input can cause segment faults and I have confirmed them with address sanitizer too.
Here are the POC files. Please use "
wasm-as $POC
" or "wasm2js $POC
" to reproduce the problem.POC.zip
The ASAN dumps the stack trace as follows: