summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2004-12-22 12:50:50 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2004-12-22 12:50:50 (GMT)
commit3673369951f1bb8eff5b23f9a621563015b4362b (patch)
tree04ba6ea26ea60d3c0774ddb79a9eff133e365675
parent1902146ea121a9aee1552aa8bf9ce5021fd29011 (diff)
downloadcpython-3673369951f1bb8eff5b23f9a621563015b4362b.zip
cpython-3673369951f1bb8eff5b23f9a621563015b4362b.tar.gz
cpython-3673369951f1bb8eff5b23f9a621563015b4362b.tar.bz2
Add NEWS entry about bug #1076985.
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ad0518b..dd34055 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -60,6 +60,10 @@ Library
- heapq.nsmallest() and heapq.nlargest() now support key= arguments with
the same meaning as in list.sort().
+- Bug #1076985: ``codecs.StreamReader.readline()`` now calls ``read()`` only
+ once when a size argument is given. This prevents a buffer overflow in the
+ tokenizer with very long source lines.
+
Build
-----