summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-09-07 04:18:30 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-09-07 04:18:30 (GMT)
commit1e534b5425d836cb58a73d24f0be791d67bf3503 (patch)
tree1f9fc8b8802c5ba236c026fc6cbe785d7f9bf20b /Misc
parent68a6da99e6dc127d817143f74e98d665117f99c2 (diff)
downloadcpython-1e534b5425d836cb58a73d24f0be791d67bf3503.zip
cpython-1e534b5425d836cb58a73d24f0be791d67bf3503.tar.gz
cpython-1e534b5425d836cb58a73d24f0be791d67bf3503.tar.bz2
Fix a crasher where Python code managed to infinitely recurse in C code without
ever going back out to Python code in PyObject_Call(). Required introducing a static RuntimeError instance so that normalizing an exception there is no reliance on a recursive call that would put the exception system over the recursion check itself.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1f14349..1963a14 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,12 @@ What's New in Python 2.6 alpha 1?
Core and builtins
-----------------
+- Issue #1202533: Fix infinite recursion calls triggered by calls to
+ PyObject_Call() never calling back out to Python code to trigger recursion
+ depth updates/checks. Required the creation of a static RuntimeError
+ instance in case normalizing an exception put the recursion check value past
+ its limit. Fixes crashers infinite_rec_(1|2|4|5).py.
+
- Patch #1031213: Decode source line in SyntaxErrors back to its original source
encoding.