https://github.com/python/cpython/commit/92d4aeafd5c678f781526583332a4deb7293f5f8
commit: 92d4aeafd5c678f781526583332a4deb7293f5f8
branch: main
author: Mark Shannon <[email protected]>
committer: Fidget-Spinner <[email protected]>
date: 2025-12-16T19:57:15Z
summary:

GH-142629: JIT: Fix out of bounds memory read in lltrace (GH-142821)

JIT: Fix out of bounds memory read in lltrace

files:
M Python/optimizer.c

diff --git a/Python/optimizer.c b/Python/optimizer.c
index 5a2cdb42194b8c..b215e43128fa2c 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);
     }
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to