]> 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:43:41 +0000 (00:43 -0700)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2020 07:43:41 +0000 (00:43 -0700)
commitd5ee9b9940ba24120838b07061058afe931cfff1
tree44e167dcfe54c4e2c39144b09807d2d94cb95331
parent14195597b3a877209c20d00e0ec844234e624d13
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