[Webkit-unassigned] [Bug 254760] New: [Wasm-GC] Enforce operand limit for `array.new_canon_fixed`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 30 12:07:32 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=254760

            Bug ID: 254760
           Summary: [Wasm-GC] Enforce operand limit for
                    `array.new_canon_fixed`
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebAssembly
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tjc at igalia.com

The spec, https://github.com/WebAssembly/gc/pull/360/files , was recently updated to specify that the maximum number of operands to `array.new_fixed` is 10000 and the implementation should throw a `RuntimeError` if that is exceeded. In the current implementation (about to land; see https://bugs.webkit.org/show_bug.cgi?id=252350 ), no limit is enforced. This should be easy to change in the parser, but unfortunately I'm out of time to work on this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230330/bdb7db79/attachment-0001.htm>


More information about the webkit-unassigned mailing list