From 92d4aeafd5c678f781526583332a4deb7293f5f8 Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Tue, 16 Dec 2025 19:57:15 +0000 Subject: [PATCH] GH-142629: JIT: Fix out of bounds memory read in lltrace (GH-142821) JIT: Fix out of bounds memory read in lltrace --- Python/optimizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/optimizer.c b/Python/optimizer.c index 5a2cdb42194b..b215e43128fa 100644 --- a/Python/optimizer.c +++ b/Python/optimizer.c @@ -356,7 +356,7 @@ _PyUOpPrint(const _PyUOpInstruction *uop) default: printf(" (%d, Unknown format)", uop->oparg); } - if (_PyUop_Flags[uop->opcode] & HAS_ERROR_FLAG) { + if (_PyUop_Flags[_PyUop_Uncached[uop->opcode]] & HAS_ERROR_FLAG) { printf(", error_target=%d", uop->error_target); } -- 2.47.3