Skip to content

Add missing validation for the exceptions proposal - #322

Merged
fitzgen merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fix-exceptions
Aug 23, 2021
Merged

fitzgen merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:fix-exceptions

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

Wasmparser's validator would accidentally let a module through with the
tag section or with tag imports, even if the exceptions proposal wasn't
enabled.

Wasmparser's validator would accidentally let a module through with the
tag section or with tag imports, even if the exceptions proposal wasn't
enabled.
@alexcrichton
alexcrichton requested a review from fitzgen August 20, 2021 15:36

@fitzgen fitzgen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@fitzgen
fitzgen merged commit 0915d32 into bytecodealliance:main Aug 23, 2021
@alexcrichton
alexcrichton deleted the fix-exceptions branch July 6, 2022 14:26
alexcrichton pushed a commit to alexcrichton/wasm-tools that referenced this pull request Nov 16, 2022
…ance#322)

This commit updates `wit-component` to expect mangled names in imports and
exports.

Test baselines were updated to use mangled names in the core module.
alexcrichton pushed a commit to alexcrichton/wasm-tools that referenced this pull request Nov 16, 2022
…codealliance#322)" (bytecodealliance#329)

This reverts commit 126f8e8.

We chose not to use this approach to smuggling component type information
in core modules. See
WebAssembly/component-model#106 (comment)
for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants