]> granicus.if.org Git - python/commit
Issue #3657: Fix uninitialized memory read when pickling longs.
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 24 Aug 2008 23:50:08 +0000 (23:50 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 24 Aug 2008 23:50:08 +0000 (23:50 +0000)
commit6ae2eb268d55854eafe36fa707ffed980a277d06
treea04d6bc17d7417b5544c85464d68144d40030b42
parent6e0e0e6749f4e68a9a2d13c4935d1e39546c8114
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
Misc/NEWS
Modules/_pickle.c