Skip to content

Conversation

@mtb0x1
Copy link
Contributor

@mtb0x1 mtb0x1 commented Aug 18, 2024

fix for #6847 and #6848

@mtb0x1 mtb0x1 changed the title fix null dereference in FunctionValidator::visitBlock fix null dereference in FunctionValidator::visitBlock validateCallParamsAndResult Aug 18, 2024
Copy link
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

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

Code looks good, but would you be able to add regression tests in test/lit/validation?

@mtb0x1
Copy link
Contributor Author

mtb0x1 commented Aug 25, 2024

Code looks good, but would you be able to add regression tests in test/lit/validation?

I added a regression test case, I am no expert of wast so this might be missing other variants.

Co-authored-by: Alon Zakai <[email protected]>
@kripken kripken merged commit 5018114 into WebAssembly:main Aug 26, 2024
@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.

3 participants