]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33954: Fix compiler warning in _PyUnicode_FastFill() (GH-10737)
authorVictor Stinner <vstinner@redhat.com>
Tue, 27 Nov 2018 11:41:17 +0000 (12:41 +0100)
committerGitHub <noreply@github.com>
Tue, 27 Nov 2018 11:41:17 +0000 (12:41 +0100)
commit163403a63e9272fcd14707e344122c2e3c5e0244
treecf6696176f8b518731634aefc7d0f82630696cc1
parentcfaafda8e3e19764682abb4bd4c574accb784c42
bpo-33954: Fix compiler warning in _PyUnicode_FastFill() (GH-10737)

'data' argument of unicode_fill() is modified, so it must not be
constant.

Add more assertions to unicode_fill(): check the maximum character
value.
Objects/unicodeobject.c