From: Mark Shannon Date: Tue, 16 Dec 2025 19:57:15 +0000 (+0000) Subject: GH-142629: JIT: Fix out of bounds memory read in lltrace (GH-142821) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d4aeafd5c678f781526583332a4deb7293f5f8;p=thirdparty%2FPython%2Fcpython.git GH-142629: JIT: Fix out of bounds memory read in lltrace (GH-142821) JIT: Fix out of bounds memory read in lltrace --- 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); }