Skip to content

Fix leak in JS_ToCStringLen2 on failure. - #587

Closed
vanzomerenc wants to merge 1 commit into
bellard:masterfrom
vanzomerenc:fix-leak-in-JS_ToCString
Closed

vanzomerenc wants to merge 1 commit into
bellard:masterfrom
vanzomerenc:fix-leak-in-JS_ToCString

Conversation

@vanzomerenc

Copy link
Copy Markdown

Fixes #586

@bellard

bellard commented Oct 31, 2026

Copy link
Copy Markdown
Owner

fixed

@bellard bellard closed this Oct 31, 2026
j-olivier pushed a commit to j-olivier/quickjs-pal that referenced this pull request Nov 5, 2026
yonto-app pushed a commit to yonto-app/quickjs that referenced this pull request Nov 6, 2026
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.

JS_ToCString and similar will leak memory when running out of memory.

2 participants