Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Skip Issue] Fix a possible reference leak in _socket.getaddrinfo() #10543

Merged

Conversation

ZackerySpytz
Copy link
Contributor

"single" needs to be decrefed if PyList_Append() fails.

"single" needs to be decrefed if PyList_Append() fails.
@miss-islington
Copy link
Contributor

Thanks @ZackerySpytz for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6, 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 14, 2018
"single" needs to be decrefed if PyList_Append() fails.
(cherry picked from commit 4c596d5)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@bedevere-bot
Copy link

GH-10548 is a backport of this pull request to the 3.7 branch.

@bedevere-bot
Copy link

GH-10549 is a backport of this pull request to the 3.6 branch.

@bedevere-bot
Copy link

GH-10550 is a backport of this pull request to the 2.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 14, 2018
"single" needs to be decrefed if PyList_Append() fails.
(cherry picked from commit 4c596d5)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 14, 2018
"single" needs to be decrefed if PyList_Append() fails.
(cherry picked from commit 4c596d5)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington added a commit that referenced this pull request Nov 15, 2018
"single" needs to be decrefed if PyList_Append() fails.
(cherry picked from commit 4c596d5)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington added a commit that referenced this pull request Nov 15, 2018
"single" needs to be decrefed if PyList_Append() fails.
(cherry picked from commit 4c596d5)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
miss-islington added a commit that referenced this pull request Nov 15, 2018
"single" needs to be decrefed if PyList_Append() fails.
(cherry picked from commit 4c596d5)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
@ZackerySpytz ZackerySpytz deleted the _socket-getaddrinfo-ref-leak branch November 15, 2018 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip issue skip news type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants