bpo-41056: Fix reference to deallocated stack in pathconfig (Coverity) by gpshead · Pull Request #21013 · python/cpython
Conversation
Reported by Coverity. (CID 1457554 RETURN_LOCAL)
gpshead
changed the title
bpo-41056: Fix Coverity issues reported in pathconfig.
bpo-41056: Fix reference to deallocated stack in pathconfig (Coverity)
Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8, 3.9.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
pythonGH-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 81328f3) Co-authored-by: Gregory P. Smith <greg@krypto.org>
Sorry, @gpshead, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 81328f30703bd7225e7e73aedb0994a7293ce190 3.7
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
pythonGH-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 81328f3) Co-authored-by: Gregory P. Smith <greg@krypto.org>
miss-islington added a commit that referenced this pull request
miss-islington added a commit that referenced this pull request
fasih pushed a commit to fasih/cpython that referenced this pull request
pythonGH-21013) Reported by Coverity. (CID 1457554 RETURN_LOCAL) path0 is assigned as a pointer to this right before it goes out of scope.