summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2013-07-11 11:33:55 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2013-07-11 11:33:55 (GMT)
commit3687e8055cf740384516c596890e864ead081eba (patch)
treeaab19a3cd7c3e824d1d3dd430577418788594441 /Misc
parentf7c8584545be5b0ecbd904a4cd1889b0fb0edfb1 (diff)
downloadcpython-3687e8055cf740384516c596890e864ead081eba.zip
cpython-3687e8055cf740384516c596890e864ead081eba.tar.gz
cpython-3687e8055cf740384516c596890e864ead081eba.tar.bz2
Issue #18427: str.replace could crash the interpreter with huge strings.
This fixes two places where 'int' was used to represent the size of strings, instead of 'Py_ssize_t'. (The issue is not present in the corresponding code in the 3.x branches) Fixes #18427
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 3 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c3689e9..804e8c2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -24,6 +24,8 @@ Core and Builtins
Library
-------
+- Issue #18427: str.replace could crash the interpreter with huge strings.
+
- Issue #18347: ElementTree's html serializer now preserves the case of
closing tags.
@@ -88,7 +90,7 @@ IDLE
- Issue #7136: In the Idle File menu, "New Window" is renamed "New File".
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
-
+
- Issue #8515: Set __file__ when run file in IDLE.
Initial patch by Bruce Frederiksen.