Bug 308081
| Summary: | Fuzzer crash when parsing illegal memory instruction in WASM binary | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | anand_srinivasan |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
anand_srinivasan
rdar://170534591
If a WASM binary specifies no memories it is illegal to use any memory instructions. Currently if a load or store lives in an unreachable expression in a module with no memories it triggers a release assert instead of returning a parse error.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
anand_srinivasan
Pull request: https://github.com/WebKit/WebKit/pull/58876
EWS
Committed 307788@main (cfde220e1cb3): <https://commits.webkit.org/307788@main>
Reviewed commits have been landed. Closing PR #58876 and removing active labels.