Skip to content

[3.13] gh-144872: fix heap buffer overflow _PyTokenizer_ensure_utf8 (GH-144807)#145441

Merged
pablogsal merged 1 commit intopython:3.13from
StanFromIreland:backport-3fc945d-3.13
Mar 2, 2026
Merged

[3.13] gh-144872: fix heap buffer overflow _PyTokenizer_ensure_utf8 (GH-144807)#145441
pablogsal merged 1 commit intopython:3.13from
StanFromIreland:backport-3fc945d-3.13

Conversation

@StanFromIreland
Copy link
Member

@StanFromIreland StanFromIreland commented Mar 2, 2026

…_utf8` (pythonGH-144807)

(cherry picked from commit 3fc945d)

Co-authored-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
with self.subTest(seq=seq):
self.assertRaises(SyntaxError, compile, seq, '<test>', 'exec')

@requires_subprocess()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI: this line caused the conflict.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

damn

@pablogsal pablogsal merged commit 5577bd1 into python:3.13 Mar 2, 2026
76 of 78 checks passed
@StanFromIreland StanFromIreland deleted the backport-3fc945d-3.13 branch March 2, 2026 23:01
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.

3 participants