]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105375: Explicitly initialise all {Pickler,Unpickler}Object fields (#105686)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Mon, 12 Jun 2023 21:35:07 +0000 (23:35 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Jun 2023 21:35:07 +0000 (23:35 +0200)
commitca3cc4b95d66f7527ebe0ba4cdb1907082d9bfc8
tree21c3f9a6ed64e53321adcb994f4575b46b5c3b05
parentf0fb782ddb7208a59cfc38ec4bcbd8d1a81f8a58
gh-105375: Explicitly initialise all {Pickler,Unpickler}Object fields (#105686)

All fields must be explicitly initialised to prevent manipulation of
uninitialised fields in dealloc.

Align initialisation order with the layout of the object structs.
Modules/_pickle.c