diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-06-13 06:50:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 06:50:00 (GMT) |
commit | 36c393c044f35c83a17301f367db1cb6af0d9cd0 (patch) | |
tree | dc1a0666f5199c2a6f878ecc26453de3c42f5f6e /Python/Python-ast.c | |
parent | 261d0b4f0e4e70025513696bf7427d78a369b310 (diff) | |
download | cpython-36c393c044f35c83a17301f367db1cb6af0d9cd0.zip cpython-36c393c044f35c83a17301f367db1cb6af0d9cd0.tar.gz cpython-36c393c044f35c83a17301f367db1cb6af0d9cd0.tar.bz2 |
[3.11] gh-105375: Explicitly initialise all {Pickler,Unpickler}Object fields (#105686) (#105711)
* [3.11] 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.
(cherry picked from commit ca3cc4b95d66f7527ebe0ba4cdb1907082d9bfc8)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions