gh-144872: fix heap buffer overflow `_PyTokenizer_ensure_utf8` by AdamKorcz · Pull Request #144807 · python/cpython
Signed-off-by: Adam <adam@Adam-Workstation.lan>
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
changed the title
oss-fuzz-451112368: fix found crash
gh-144872: fix found crash
AdamKorcz
changed the title
gh-144872: fix found crash
gh-144872: fix heap buffer overflow
StanFromIreland
changed the title
gh-144872: fix heap buffer overflow
gh-144872: fix heap buffer overflow _PyTokenizer_ensure_utf8
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…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
…GH-144807) (#145287) Co-authored-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request
…_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
…GH-144807) (#145441) (cherry picked from commit 3fc945d) Co-authored-by: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com>