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

Segmentation fault when JS_ReadFunctionTag goes to fail #47

Closed
Zalewa opened this issue Jan 28, 2021 · 1 comment
Closed

Segmentation fault when JS_ReadFunctionTag goes to fail #47

Zalewa opened this issue Jan 28, 2021 · 1 comment

Comments

@Zalewa
Copy link

Zalewa commented Jan 28, 2021

In JS_ReadFunctionTag() if goto fail; happens after b->cpool_count is set to a >0 value but before b->cpool is allocated, then JS_FreeValue() will try to iterate over a NULL b->cpool and segfault.

@bellard
Copy link
Owner

bellard commented Mar 27, 2021

fixed

@bellard bellard closed this as completed Mar 27, 2021
cykoder pushed a commit to cykoder/quickjs that referenced this issue Sep 1, 2023
TooTallNate pushed a commit to TooTallNate/quickjs that referenced this issue Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants