SIGN IN SIGN UP

gh-146196: Fix Undefined Behavior in _PyUnicodeWriter_WriteASCIIString() (#146201)

Avoid calling memcpy(data + writer->pos, NULL, 0)
which has an undefined behavior.

Co-authored-by: Victor Stinner <vstinner@python.org>
S
Shamil committed
cd10a2e65c25682095f6ee4a9b9a181938a50d2e
Parent: 82a24a4
Committed by GitHub <noreply@github.com> on 3/20/2026, 3:58:41 PM