◐ Shell
clean mode source ↗

gh-144872: fix heap buffer overflow `_PyTokenizer_ensure_utf8` by AdamKorcz · Pull Request #144807 · python/cpython

Signed-off-by: Adam <adam@Adam-Workstation.lan>

standaell1234-maker

Add a test covering truncated multi-byte UTF-8 sequences at end of input.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

@AdamKorcz AdamKorcz changed the title oss-fuzz-451112368: fix found crash gh-144872: fix found crash

Feb 16, 2026
Signed-off-by: Adam Korczynski <adam@adalogics.com>

@AdamKorcz AdamKorcz changed the title gh-144872: fix found crash gh-144872: fix heap buffer overflow

Feb 16, 2026

aisk

aisk

…9_Q30.rst

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: AN Long <aisk@users.noreply.github.com>

@StanFromIreland StanFromIreland changed the title gh-144872: fix heap buffer overflow gh-144872: fix heap buffer overflow _PyTokenizer_ensure_utf8

Feb 18, 2026

StanFromIreland

@pablogsal

pablogsal

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 26, 2026
…ythonGH-144807)

(cherry picked from commit 3fc945d)

Co-authored-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>

pablogsal pushed a commit that referenced this pull request

Feb 26, 2026
…GH-144807) (#145287)

Co-authored-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>

brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request

Feb 28, 2026

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request

Mar 2, 2026
…_utf8` (pythonGH-144807)

(cherry picked from commit 3fc945d)

Co-authored-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>

pablogsal pushed a commit that referenced this pull request

Mar 2, 2026
…GH-144807) (#145441)

(cherry picked from commit 3fc945d)

Co-authored-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>

ljfp pushed a commit to ljfp/cpython that referenced this pull request

Apr 25, 2026