diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-03-12 01:56:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 01:56:35 (GMT) |
commit | ad83fde75463dad2df878ff264f52436eb48bc6b (patch) | |
tree | bf20afe531a3433061f691c56d8b3454fdfef014 /Python/pythonrun.c | |
parent | 531f2ebd60a662111c78107935d249d3d52f9a4f (diff) | |
download | cpython-ad83fde75463dad2df878ff264f52436eb48bc6b.zip cpython-ad83fde75463dad2df878ff264f52436eb48bc6b.tar.gz cpython-ad83fde75463dad2df878ff264f52436eb48bc6b.tar.bz2 |
bpo-43423 Fix IndexError in subprocess _communicate function (GH-24777)
Check to make sure stdout and stderr are not empty before selecting an item from them in Windows subprocess._communicate.
Co-authored-by: Gregory P. Smith <greg@krypto.org>
(cherry picked from commit b4fc44bb2d209182390b4f9fdf074a46b0165a2f)
Co-authored-by: Chris Griffith <chris@cdgriffith.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions