Skip to content

interpreter: Fix infinite looping on return_call#1762

Merged
sbc100 merged 2 commits into
WebAssembly:mainfrom
takikawa:fix-return-call-infinite-loop
Dec 16, 2021
Merged

interpreter: Fix infinite looping on return_call#1762
sbc100 merged 2 commits into
WebAssembly:mainfrom
takikawa:fix-return-call-infinite-loop

Conversation

@takikawa

Copy link
Copy Markdown
Contributor

Fixes infinite looping described in issue #1761.

@sbc100

sbc100 commented Dec 13, 2021

Copy link
Copy Markdown
Member

Would you mind rebasing or merging?

@sbc100 sbc100 self-requested a review December 13, 2021 23:27
The code offset fixup for the target of a `return_call` was
not being done properly due to invalid initialization of the
offset value, and due to the fixup location being put at the
wrong offset in the instruction stream.

Fixes issue WebAssembly#1761
@takikawa takikawa force-pushed the fix-return-call-infinite-loop branch from 304ca4c to 15c2b15 Compare December 15, 2021 21:30
@takikawa

Copy link
Copy Markdown
Contributor Author

Sure, no problem! I just pushed a rebased commit.

Comment thread src/interp/binary-reader-interp.cc
@sbc100 sbc100 merged commit 5718b65 into WebAssembly:main Dec 16, 2021
@takikawa takikawa deleted the fix-return-call-infinite-loop branch December 16, 2021 01:16
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