alexcrichton opened PR #13046 from alexcrichton:fuel-for-component-api to bytecodealliance:main:
This commit adds a fuel counter when creating values in the
component_apifuzzer to ensure the value isn't too large at runtime. This fixes a fuzz-bug where the created value exceeded the value of being able to fit in memory, causing a fuzz failure.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested fitzgen for a review on PR #13046.
alexcrichton requested wasmtime-fuzz-reviewers for a review on PR #13046.
fitzgen submitted PR review.
fitzgen added PR #13046 Restrict value sizes in component_api fuzzer to the merge queue.
fitzgen merged PR #13046.
fitzgen removed PR #13046 Restrict value sizes in component_api fuzzer from the merge queue.
Last updated: Apr 12 2026 at 23:10 UTC