gh-146196: Fix potential Undefined Behavior in _PyUnicodeWriter_WriteASCIIString by ashm-dev · Pull Request #146201 · python/cpython
Bot
mentioned this pull request
vstinner added a commit to vstinner/cpython that referenced this pull request
…IString() (python#146201) Avoid calling memcpy(data + writer->pos, NULL, 0) which has an undefined behavior. Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit cd10a2e)
vstinner added a commit that referenced this pull request
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request
ljfp pushed a commit to ljfp/cpython that referenced this pull request
…IString() (python#146201) Avoid calling memcpy(data + writer->pos, NULL, 0) which has an undefined behavior. Co-authored-by: Victor Stinner <vstinner@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters