-
Notifications
You must be signed in to change notification settings - Fork 758
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
[Segmentation fault] Out-of-bounds read in wasm::WATParser::makeArrayInitElem #6833
Comments
I'm not very familiar with the parsing logic here, but it looks like the issue may be a missing call to Lines 2325 to 2333 in a4f9128
|
Thanks @sofiaaberegg for the report, and yes, I think that is exactly the issue! Would you like to open a PR with it? |
Yeah, will do! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I identified an out-of-bounds data read bug when fuzzing the
wasm-opt
tool.Steps to reproduce:
Test file: wasm-oob-read.zip
Command: ./wasm-opt ./wasm-oob-read.wasm
GDB:
Valgrind:
The text was updated successfully, but these errors were encountered: