summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2008-07-06 04:04:07 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2008-07-06 04:04:07 (GMT)
commitf8f30fad4dfdad4a655942963c1e5fc3ae0d9cfb (patch)
tree529267ed2e72f1813b52c404b0e88895e26613b0 /Misc
parent6d7f9375a5181925f561720cdbce0a618a57606a (diff)
downloadcpython-f8f30fad4dfdad4a655942963c1e5fc3ae0d9cfb.zip
cpython-f8f30fad4dfdad4a655942963c1e5fc3ae0d9cfb.tar.gz
cpython-f8f30fad4dfdad4a655942963c1e5fc3ae0d9cfb.tar.bz2
Backport r62627 + r62744 from trunk to fix issue 2632.
- Issue #2632: Prevent socket.read(bignumber) from over allocating memory in the common case when the data is returned from the underlying socket in increments much smaller than bignumber.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c8fbedf..c5cf068 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -102,6 +102,9 @@ Library
stdout and stderr fds rather than leaving them open until the
instance is destroyed.
+- Issue #2632: Prevent socket.read(bignumber) from over allocating memory
+ in the common case when the data is returned from the underlying socket
+ in increments much smaller than bignumber.
Extension Modules
-----------------