]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-36149 Fix potential use of uninitialized memory in cPickle (#12105)
authorT. Wouters <thomas@python.org>
Mon, 4 Mar 2019 18:52:07 +0000 (10:52 -0800)
committerGitHub <noreply@github.com>
Mon, 4 Mar 2019 18:52:07 +0000 (10:52 -0800)
commitd9bf7f4198871132714cfe7d702baaa02206e9f1
treeaeee180dfaf5e16a34f4cbadf841253ceec86cd6
parent84b5ac9ba6fd71ba9d0ef98e2a166a35189b263f
[2.7] bpo-36149 Fix potential use of uninitialized memory in cPickle (#12105)

Fix off-by-one bug in cPickle that caused it to use uninitialised memory on truncated pickles read from FILE*s.
Misc/NEWS.d/next/Core and Builtins/2019-02-28-13-52-18.bpo-36149.GJdnh4.rst [new file with mode: 0644]
Modules/cPickle.c