[3.8] bpo-41056: Fix reference to deallocated stack in pathconfig (Coverity) (GH-21013) by miss-islington · Pull Request #21041 · python/cpython
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 81328f3)
Co-authored-by: Gregory P. Smith greg@krypto.org
https://bugs.python.org/issue41056
Automerge-Triggered-By: @tiran