]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Fix possible null pointer dereference of freevars in _PyCompile_LookupArg...
authorValery Fedorenko <federicovalenso@gmail.com>
Wed, 6 Nov 2024 07:56:12 +0000 (10:56 +0300)
committerGitHub <noreply@github.com>
Wed, 6 Nov 2024 07:56:12 +0000 (07:56 +0000)
commit2f39370f4aee651b9dfd882f5d739eeea52f05ce
tree28316482ea1f0db73f4faf6811eb06796a4b677e
parentfc01844019f63748e8334adca57a11577cc00a6d
[3.12] Fix possible null pointer dereference of freevars in _PyCompile_LookupArg (gh-126238) (#126474)

[3.12] gh-126238: Fix possible null pointer dereference of freevars in _PyCompile_LookupArg (GH-126239)

* Replace Py_DECREF by Py_XDECREF

(cherry picked from commit 8525c9375f25e6ec0c0b5dfcab464703f6e78082)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Python/compile.c