Skip to content

Conversation

@alexcrichton
Copy link
Member

This commit fixes a fuzz-found issue where the WIT inference process from a concrete component could panic. The underlying issue is detailed within the comments of the code in this commit, but the effective fix applied here is to remove the assertion and revisit it later if necessary.

This commit fixes a fuzz-found issue where the WIT inference process
from a concrete component could panic. The underlying issue is detailed
within the comments of the code in this commit, but the effective fix
applied here is to remove the assertion and revisit it later if
necessary.
@alexcrichton alexcrichton merged commit 9ed609d into bytecodealliance:main Aug 8, 2023
@alexcrichton alexcrichton deleted the fix-panic branch August 8, 2023 15:40
alexcrichton added a commit to alexcrichton/wasm-tools that referenced this pull request Aug 18, 2023
Release latest changes such as:

* `wasm-tools compose` now supports `-t` (bytecodealliance#1148)
* The `abi` module is removed from the `wit-parser` crate (bytecodealliance#1149, bytecodealliance#1159)
* Fix validation of lowered functions in the component model (bytecodealliance#1150)
* Fix a panic decoding WIT from a component (bytecodealliance#1157)
* Add text format and printing support for `dylink.0` (bytecodealliance#1135)
* Support shared-everything linking in `wasm-tools component new` (bytecodealliance#1133)
* Printing a WIT document now prints comments as well (bytecodealliance#1167)
* Disallow `(borrow $t)` in component function results (bytecodealliance#1162)
peterhuene pushed a commit that referenced this pull request Aug 18, 2023
Release latest changes such as:

* `wasm-tools compose` now supports `-t` (#1148)
* The `abi` module is removed from the `wit-parser` crate (#1149, #1159)
* Fix validation of lowered functions in the component model (#1150)
* Fix a panic decoding WIT from a component (#1157)
* Add text format and printing support for `dylink.0` (#1135)
* Support shared-everything linking in `wasm-tools component new` (#1133)
* Printing a WIT document now prints comments as well (#1167)
* Disallow `(borrow $t)` in component function results (#1162)
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