Skip to content

[3.7] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117)#18151

Merged
miss-islington merged 1 commit into
python:3.7from
alpire:backport-d3ae95e-3.7
Jan 23, 2020
Merged

[3.7] bpo-35182: fix communicate() crash after child closes its pipes (GH-18117)#18151
miss-islington merged 1 commit into
python:3.7from
alpire:backport-d3ae95e-3.7

Conversation

@alpire
Copy link
Copy Markdown
Contributor

@alpire alpire commented Jan 23, 2020

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.
(cherry picked from commit d3ae95e)

Co-authored-by: Alex Rebert alex@forallsecure.com

https://bugs.python.org/issue35182

Automerge-Triggered-By: @gpshead

…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>.
(cherry picked from commit d3ae95e)

Co-authored-by: Alex Rebert <alex@forallsecure.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants