[Webkit-unassigned] [Bug 285591] New: Missing Validation for Sub-Section Order in Custom Section
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 8 03:42:42 PST 2025
https://bugs.webkit.org/show_bug.cgi?id=285591
Bug ID: 285591
Summary: Missing Validation for Sub-Section Order in Custom
Section
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tombox1337 at gmail.com
Created attachment 473835
--> https://bugs.webkit.org/attachment.cgi?id=473835&action=review
program.js
### Description
WebKit does not enforce the requirement for sub-sections within a custom section to be in a specific order. This behavior violates the WebAssembly specification, which mandates that sub-sections should follow a particular order.
### Environment
- OS: Ubuntu 20.04
- CPU: amd64
- WebKit Version: 146fa28a329d220785d2972c1d691555141e6406
### Steps to Reproduce
Run the following WebAssembly module:
```
./JSCOnly/Debug/bin/jsc ./program.js
```
### Current State
```plaintext
No validation error is produced.
```
### Expected Behavior
The WebAssembly module should fail validation and report an error similar to:
```
out-of-order sub-section
```
--
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/20250108/7adbfc95/attachment.htm>
More information about the webkit-unassigned
mailing list