Skip to content

Commit 92d4aea

Browse files
authored
GH-142629: JIT: Fix out of bounds memory read in lltrace (GH-142821)
JIT: Fix out of bounds memory read in lltrace
1 parent 16a305f commit 92d4aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ _PyUOpPrint(const _PyUOpInstruction *uop)
356356
default:
357357
printf(" (%d, Unknown format)", uop->oparg);
358358
}
359-
if (_PyUop_Flags[uop->opcode] & HAS_ERROR_FLAG) {
359+
if (_PyUop_Flags[_PyUop_Uncached[uop->opcode]] & HAS_ERROR_FLAG) {
360360
printf(", error_target=%d", uop->error_target);
361361
}
362362

0 commit comments

Comments
 (0)