[issue42146] subprocess.Popen() leaks cwd in case of uid/gid overflow
Alexey Izbyshev
report at bugs.python.org
Sun Oct 25 10:25:42 EDT 2020
Alexey Izbyshev <izbyshev at ispras.ru> added the comment:
I've submitted both PRs.
Regarding PR 22970:
* I made it a draft since we'd probably want to fix the leak first, but then it will have to be rebased.
* It fixes a bug with _enable_gc(): if it failed after fork(), we'd raise OSError instead. Additionally, if fork() succeeded(), the errno inside OSError would be zero, and we'd leak the child process.
----------
keywords: -patch
stage: patch review ->
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42146>
_______________________________________
More information about the Python-bugs-list
mailing list