]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport checkin:
authorWalter Dörwald <walter@livinglogic.de>
Wed, 22 Dec 2004 12:52:15 +0000 (12:52 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Wed, 22 Dec 2004 12:52:15 +0000 (12:52 +0000)
Add NEWS entry about bug #1076985.

Misc/NEWS

index f832b2d68e83c2fd567de00268657ed9daa07e49..d5c230285a77972371aaccf79eaa0053598fb125 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -36,6 +36,10 @@ Library
   extended or overridden by subclasses.  Formerly, the subclassed method would
   be ignored by the rest of the module.  (Bug #1078905).
 
+- 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
 -----