Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Aug 27, 2024

The parser function for action returned a MaybeResult, but we were
treating it as returning a normal Result and not checking that it had
contents in several places. Replace the current action() with
maybeAction() and add a new action() that requires the action to be
present.

Fixes #6872.

The parser function for `action` returned a `MaybeResult`, but we were
treating it as returning a normal `Result` and not checking that it had
contents in several places. Replace the current `action()` with
`maybeAction()` and add a new `action()` that requires the action to be
present.

Fixes #6872.
@tlively tlively requested a review from kripken August 27, 2024 01:15
@tlively tlively merged commit 52118e5 into main Aug 27, 2024
@tlively tlively deleted the fix-6872 branch August 27, 2024 19:50
@gkdn gkdn mentioned this pull request Aug 31, 2024
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.

[Segmentation fault] Out-of-bounds read from wasm::WATParser::assertAction

3 participants