Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve diagnostics for Asyncify buffer overflow #223

Open
kateinoigakukun opened this issue May 19, 2023 · 0 comments
Open

Improve diagnostics for Asyncify buffer overflow #223

kateinoigakukun opened this issue May 19, 2023 · 0 comments

Comments

@kateinoigakukun
Copy link
Member

Currently, it just says RuntimeError: unreachable but it doesn't say it's caused by Asyncify at all.
We can determine the RuntimeError is caused by Asyncify or not by checking the asyncify buffer struct { start: i32, end: i32 } and the start pointer exceeds end pointer or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant