Update QuickJS: bytecode size checks, memory fixes, test262#5937
Merged
Conversation
* Test262 updated: 83341 -> 83394 tests pass * Added JSON.parse source text access bellard/quickjs@d7ae12a * Added basic protection against too large function in serialized bytecode bellard/quickjs@a31dcef Fixes: * Use-after-free via re-entrant GC in FinalizationRegistry weak ref cleanup bellard/quickjs@5022f2b * Async generator lifecycle bug bellard/quickjs@e7b9f21 * `RegExp.escape` bellard/quickjs@4d16546 * Buffer overflow in Atomics with resizable typed arrays bellard/quickjs@46bd985 * Memory leak in Iterator.prototype.map bellard/quickjs@f1b63fc * Stack underflow with generator in iterable bellard/quickjs@69090b9 * TypedArray constructor semantics which removes a buffer overflow bellard/quickjs@68caa5f * Buffer overflow when the fast array is resized bellard/quickjs@0989d4c * GC traversal of uninitialized fast-array bellard/quickjs@4c722ce
big-r81
approved these changes
Mar 23, 2026
davisp
approved these changes
Mar 23, 2026
Member
davisp
left a comment
There was a problem hiding this comment.
This looks good to me. I even made @nickva find me a similar PR to compare against which satisfies me that this is just the output of the update script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test262 updated: 83341 -> 83394 tests pass
Added JSON.parse source text access bellard/quickjs@d7ae12a
Added basic protection against too large function in serialized bytecode bellard/quickjs@a31dcef
Fixes:
Use-after-free via re-entrant GC in FinalizationRegistry weak ref cleanup bellard/quickjs@5022f2b
Async generator lifecycle bug bellard/quickjs@e7b9f21
RegExp.escapebellard/quickjs@4d16546Buffer overflow in Atomics with resizable typed arrays bellard/quickjs@46bd985
Memory leak in Iterator.prototype.map bellard/quickjs@f1b63fc
Stack underflow with generator in iterable bellard/quickjs@69090b9
TypedArray constructor semantics which removes a buffer overflow bellard/quickjs@68caa5f
Buffer overflow when the fast array is resized bellard/quickjs@0989d4c
GC traversal of uninitialized fast-array bellard/quickjs@4c722ce