Skip to content

Conversation

bnoordhuis
Copy link
Contributor

Commit f404980 ("Add fused get_loc0_loc1 opcode") introduced an off-by-one (sometimes negative) array index bug because OP_get_loc1_loc1 replaced OP_get_loc0 as the first OP_FMT_none_loc opcode.

Commit f404980 ("Add fused get_loc0_loc1 opcode") introduced an
off-by-one (sometimes negative) array index bug because OP_get_loc1_loc1
replaced OP_get_loc0 as the first OP_FMT_none_loc opcode.
@bnoordhuis bnoordhuis merged commit 4c1b9f8 into quickjs-ng:master Dec 9, 2023
@bnoordhuis bnoordhuis deleted the fix-fmt-none-loc branch December 9, 2023 22:46
bnoordhuis pushed a commit to bnoordhuis/quickjs that referenced this pull request Dec 10, 2023
bnoordhuis pushed a commit to bnoordhuis/quickjs that referenced this pull request Dec 10, 2023
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.

2 participants