Skip to content

gh-114492: Initialize struct termios before calling tcgetattr() #114495

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

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jan 23, 2024

On Alpine Linux it could leave some field non-initialized.

On Alpine Linux it could leave some field non-initialized.
@andypost
Copy link

Thank you a lot! Yes, it fixes both tests)

@serhiy-storchaka serhiy-storchaka merged commit d22c066 into python:main Jan 23, 2024
@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the tcgetattr-fill branch January 23, 2024 21:27
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 23, 2024
…pythonGH-114495)

On Alpine Linux it could leave some field non-initialized.
(cherry picked from commit d22c066)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 23, 2024
…pythonGH-114495)

On Alpine Linux it could leave some field non-initialized.
(cherry picked from commit d22c066)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jan 23, 2024

GH-114502 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Jan 23, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jan 23, 2024

GH-114503 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Jan 23, 2024
serhiy-storchaka added a commit that referenced this pull request Jan 23, 2024
GH-114495) (GH-114503)

On Alpine Linux it could leave some field non-initialized.
(cherry picked from commit d22c066)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Jan 23, 2024
GH-114495) (GH-114502)

On Alpine Linux it could leave some field non-initialized.
(cherry picked from commit d22c066)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants