Skip to content

Fix OOB read in tag name array on corrupt input#1019

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix1017
Apr 8, 2025
Merged

Fix OOB read in tag name array on corrupt input#1019
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix1017

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

Happens only in debug builds because the bytecode deserializer trace logging is disabled in release builds (guarded on #ifndef NDEBUG)

Fixes: #1017

Happens only in debug builds because the bytecode deserializer trace
logging is disabled in release builds (guarded on `#ifndef NDEBUG`)

Fixes: quickjs-ng#1017
@bnoordhuis bnoordhuis merged commit 29a2f97 into quickjs-ng:master Apr 8, 2025
124 checks passed
@bnoordhuis bnoordhuis deleted the fix1017 branch April 8, 2025 19:12
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.

global buffer overflow in JS_ReadObjectRec

2 participants