diff options
author | Alex Rebert <alex@forallsecure.com> | 2020-01-22 23:28:31 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2020-01-22 23:28:31 (GMT) |
commit | d3ae95e1e945ed20297e1c38ba43a18b7a868ab6 (patch) | |
tree | 788678084694d8dfcb2946d1ca594f1aba26f3ac /Misc/NEWS.d/next/Library/2019-10-31-19-23-25.bpo-35182.hzeNl9.rst | |
parent | 1f0f102dec506fd06f912b74dd2be64a7fba0d3f (diff) | |
download | cpython-d3ae95e1e945ed20297e1c38ba43a18b7a868ab6.zip cpython-d3ae95e1e945ed20297e1c38ba43a18b7a868ab6.tar.gz cpython-d3ae95e1e945ed20297e1c38ba43a18b7a868ab6.tar.bz2 |
bpo-35182: fix communicate() crash after child closes its pipes (GH-17020) (GH-18117)
When communicate() is called in a loop, it crashes when the child process
has already closed any piped standard stream, but still continues to be running
Co-authored-by: Andriy Maletsky <andriy.maletsky@gmail.com>
Diffstat (limited to 'Misc/NEWS.d/next/Library/2019-10-31-19-23-25.bpo-35182.hzeNl9.rst')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-10-31-19-23-25.bpo-35182.hzeNl9.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-10-31-19-23-25.bpo-35182.hzeNl9.rst b/Misc/NEWS.d/next/Library/2019-10-31-19-23-25.bpo-35182.hzeNl9.rst new file mode 100644 index 0000000..9438cd8 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-10-31-19-23-25.bpo-35182.hzeNl9.rst @@ -0,0 +1,3 @@ +Fixed :func:`Popen.communicate` subsequent call crash when the child process +has already closed any piped standard stream, but still continues to be +running. Patch by Andriy Maletsky. |