Skip to content

gh-119614: Fix truncation of strings with embedded null characters in Tkinter #120909

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 2 commits into from
Jun 24, 2024

Conversation

serhiy-storchaka
Copy link
Member

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

Now the null character is always represented as \xc0\x80 for Tcl_NewStringObj().

…ers in Tkinter

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
@serhiy-storchaka serhiy-storchaka merged commit c38e2f6 into python:main Jun 24, 2024
36 checks passed
@miss-islington-app
Copy link

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

@serhiy-storchaka serhiy-storchaka deleted the tkinter-embedded-null branch June 24, 2024 09:17
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 24, 2024
…ers in Tkinter (pythonGH-120909)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
(cherry picked from commit c38e2f6)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jun 24, 2024

GH-120938 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jun 24, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 24, 2024
…ers in Tkinter (pythonGH-120909)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
(cherry picked from commit c38e2f6)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jun 24, 2024

GH-120939 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 Jun 24, 2024
serhiy-storchaka added a commit that referenced this pull request Jun 24, 2024
…ters in Tkinter (GH-120909) (GH-120939)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
(cherry picked from commit c38e2f6)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Jun 24, 2024
…ters in Tkinter (GH-120909) (GH-120938)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
(cherry picked from commit c38e2f6)

Co-authored-by: Serhiy Storchaka <[email protected]>
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
…ers in Tkinter (pythonGH-120909)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…ers in Tkinter (pythonGH-120909)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…ers in Tkinter (pythonGH-120909)

Now the null character is always represented as \xc0\x80 for
Tcl_NewStringObj().
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.

1 participant