summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-08-24 23:50:08 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-08-24 23:50:08 (GMT)
commit6ae2eb268d55854eafe36fa707ffed980a277d06 (patch)
treea04d6bc17d7417b5544c85464d68144d40030b42 /Misc
parent6e0e0e6749f4e68a9a2d13c4935d1e39546c8114 (diff)
downloadcpython-6ae2eb268d55854eafe36fa707ffed980a277d06.zip
cpython-6ae2eb268d55854eafe36fa707ffed980a277d06.tar.gz
cpython-6ae2eb268d55854eafe36fa707ffed980a277d06.tar.bz2
Issue #3657: Fix uninitialized memory read when pickling longs.
The conversion to the unicode API was incorrect, it should use bytes. repr is a bad variable name. The use is overloaded, but I'll leave that to fix later. R=Brett TESTED=./python -E -tt ./Lib/test/regrtest.py -uall valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \ ./python -E -tt ./Lib/test/regrtest.py test_pickletools
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 b846d8f..8594c99 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 3.0 release candidate 1
Core and Builtins
-----------------
+- Issue #3657: Fix uninitialized memory read when pickling longs.
+ Found by valgrind.
+
- Apply security patches from Apple.
- Fix crashes on memory allocation failure found with failmalloc.