Bug 254760 - [Wasm-GC] Enforce operand limit for `array.new_canon_fixed`
Summary: [Wasm-GC] Enforce operand limit for `array.new_canon_fixed`
Status: RESOLVED DUPLICATE of bug 256959
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebAssembly (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 247394
  Show dependency treegraph
 
Reported: 2023-03-30 12:07 PDT by Tim Chevalier
Modified: 2024-07-24 15:07 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Chevalier 2023-03-30 12:07:32 PDT
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.
Comment 1 Radar WebKit Bug Importer 2023-04-06 12:08:16 PDT
<rdar://problem/107720913>
Comment 2 David Degazio 2024-07-24 15:07:17 PDT
Keith seems to have resolved this in https://bugs.webkit.org/show_bug.cgi?id=256959.

*** This bug has been marked as a duplicate of bug 256959 ***