Bug 313789
| Summary: | Wasm IPInt multimemory bounds check underflow for nonzero memories | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | anand_srinivasan |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
anand_srinivasan
rdar://175861149
For memories other than 0 the bounds checking for memory accesses has an underflow in the computation (memory size - (access size - 1)), which computes the last valid address before a memory access spills out of bounds, which can be exercised if memory size is 0. Multimemory has not been enabled yet.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
anand_srinivasan
Pull request: https://github.com/WebKit/WebKit/pull/64011
EWS
Committed 312439@main (c90b978eee24): <https://commits.webkit.org/312439@main>
Reviewed commits have been landed. Closing PR #64011 and removing active labels.