Skip to content

wast-parser.cc: Fix a crash from failing (module quote ...) - #2509

Merged
keithw merged 2 commits into
mainfrom
check-parsewat-return
Nov 12, 2024
Merged

keithw merged 2 commits into
mainfrom
check-parsewat-return

Conversation

@keithw

@keithw keithw commented Nov 11, 2024

Copy link
Copy Markdown
Member

ParseWatModule leaves the module as a nullptr on failure. The attached test could cause a segfault in wast2json before this PR.

@keithw
keithw requested a review from sbc100 November 11, 2024 10:03
Comment thread test/regress/regress-quote.txt Resolved
@keithw
keithw force-pushed the check-parsewat-return branch from 2dd7e16 to c491a8f Compare November 11, 2024 23:14
@keithw
keithw force-pushed the check-parsewat-return branch from c491a8f to 4664307 Compare November 12, 2024 05:01
@keithw
keithw enabled auto-merge (squash) November 12, 2024 05:01
@keithw
keithw merged commit 958d0a7 into main Nov 12, 2024
@keithw
keithw deleted the check-parsewat-return branch November 12, 2024 05:10
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