diff options
author | Alexey Izbyshev <izbyshev@ispras.ru> | 2020-10-26 03:09:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 17:09:32 -0700 |
commit | c0590c0033e86f98cdf5f2ca6898656f98ab4053 (patch) | |
tree | bf2e01413ef7171bfc87b0802a201635515c2413 /Python/sysmodule.c | |
parent | e68c67805e6a4c4ec80bea64be0e8373cc02d322 (diff) | |
download | cpython-c0590c0033e86f98cdf5f2ca6898656f98ab4053.tar.gz cpython-c0590c0033e86f98cdf5f2ca6898656f98ab4053.zip |
bpo-42146: Fix memory leak in subprocess.Popen() in case of uid/gid overflow (GH-22966)
Fix memory leak in subprocess.Popen() in case of uid/gid overflow
Also add a test that would catch this leak with `--huntrleaks`.
Alas, the test for `extra_groups` also exposes an inconsistency
in our error reporting: we use a custom ValueError for `extra_groups`,
but propagate OverflowError for `user` and `group`.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions