]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41056: Fix reference to deallocated stack in pathconfig (Coverity) (GH-21013)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 22 Jun 2020 07:47:54 +0000 (00:47 -0700)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2020 07:47:54 +0000 (00:47 -0700)
commit9fe5decf5f38ae247f4f354dee27e4bfbe8bc5f8
treeed5d2ef0ce43cd2f8ed131811fbbc3eda8bbd739
parent8ae5e8ec8147e6434454e66953c25848b848711a
bpo-41056: Fix reference to deallocated stack in pathconfig (Coverity) (GH-21013)

Reported by Coverity.  (CID 1457554 RETURN_LOCAL)

path0 is assigned as a pointer to this right before it goes out of scope.
(cherry picked from commit 81328f30703bd7225e7e73aedb0994a7293ce190)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Misc/NEWS.d/next/Core and Builtins/2020-06-21-19-53-33.bpo-41056.IDu_EK.rst [new file with mode: 0644]
Python/pathconfig.c