RESOLVED FIXED233392
WebAssembly: memory.fill returns wrong error on out-of-bounds
https://bugs.webkit.org/show_bug.cgi?id=233392
Summary WebAssembly: memory.fill returns wrong error on out-of-bounds
Asumu Takikawa
Reported 2021-11-19 18:29:28 PST
The following wasm program should produce a memory out of bounds exception when `fill_oob` is called: ``` (module (import "env" "memory" (memory $mem0 1 1)) (func (export "fill_oob") (memory.fill (i32.const 0) (i32.const 42) (i32.const 65537)) ) ) ``` Right now, JSC will throw "Out of bounds table access" instead.
Attachments
Patch (4.69 KB, patch)
2021-11-19 18:41 PST, Asumu Takikawa
no flags
Asumu Takikawa
Comment 1 2021-11-19 18:41:57 PST
Yusuke Suzuki
Comment 2 2021-11-19 22:31:53 PST
Comment on attachment 444879 [details] Patch r=me
EWS
Comment 3 2021-11-19 22:57:59 PST
Committed r286092 (244479@main): <https://commits.webkit.org/244479@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 444879 [details].
Radar WebKit Bug Importer
Comment 4 2021-11-19 22:58:24 PST
Note You need to log in before you can comment on or make changes to this bug.