summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2011-05-14 22:19:50 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2011-05-14 22:19:50 (GMT)
commit0c3d96ae1dccc081fbc2a8c50ba6e41fbdc384de (patch)
treefa2ae7dc67ef7fcc9d56e29929ba1472a1333c69 /Misc
parent84aacf89125aa46b361a4eb3e3446db4c61eade0 (diff)
downloadcpython-0c3d96ae1dccc081fbc2a8c50ba6e41fbdc384de.zip
cpython-0c3d96ae1dccc081fbc2a8c50ba6e41fbdc384de.tar.gz
cpython-0c3d96ae1dccc081fbc2a8c50ba6e41fbdc384de.tar.bz2
Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 06c1d62..8618363 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -69,6 +69,11 @@ Core and Builtins
Library
-------
+- Issue #8650: Make zlib module 64-bit clean. compress(), decompress() and
+ their incremental counterparts now raise OverflowError if given an input
+ larger than 4GB, instead of silently truncating the input and returning
+ an incorrect result.
+
- Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
attribute when called without a max_length argument.