-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
[Skip Issue] Fix a "double decref" in termios_tcgetattr() #10194
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 "double decref" in termios_tcgetattr() #10194
Conversation
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. |
GH-10210 is a backport of this pull request to the 3.7 branch. |
(cherry picked from commit 53835e9) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
GH-10211 is a backport of this pull request to the 3.6 branch. |
Sorry, @ZackerySpytz and @serhiy-storchaka, I could not cleanly backport this to |
(cherry picked from commit 53835e9) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
(cherry picked from commit 53835e9) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
(cherry picked from commit 53835e9) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Hi! The buildbot AMD64 Debian PGO 3.x has failed when building commit 53835e9. You can take a look here: |
Do you mind to create a backport for 2.7 @ZackerySpytz? |
GH-10218 is a backport of this pull request to the 2.7 branch. |
Serhiy, I've created a backport for 2.7. |
"cc" will be decrefed twice if an error occurs in a PyLong_FromLong()
call towards the end of termios_tcgetattr().