SIGN IN SIGN UP

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`.
A
Alexey Izbyshev committed
c0590c0033e86f98cdf5f2ca6898656f98ab4053
Parent: e68c678
Committed by GitHub <noreply@github.com> on 10/26/2020, 12:09:32 AM