Skip to content

Update QuickJS: bytecode size checks, memory fixes, test262#5937

Merged
nickva merged 1 commit into
mainfrom
upgrade-quickjs-mar-23-2026
Mar 23, 2026
Merged

Update QuickJS: bytecode size checks, memory fixes, test262#5937
nickva merged 1 commit into
mainfrom
upgrade-quickjs-mar-23-2026

Conversation

@nickva
Copy link
Copy Markdown
Contributor

@nickva nickva commented Mar 23, 2026

Fixes:

* 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
Copy link
Copy Markdown
Member

@davisp davisp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@nickva nickva merged commit 03e02e1 into main Mar 23, 2026
59 checks passed
@nickva nickva deleted the upgrade-quickjs-mar-23-2026 branch March 23, 2026 23:55
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.

3 participants