]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat...
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 12 Jan 2019 08:30:35 +0000 (10:30 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Jan 2019 08:30:35 +0000 (10:30 +0200)
commitd586ccb04f79863c819b212ec5b9d873964078e4
tree8b2d20f04b4b3867654a608a8ad8d54360acc367
parentf1ec3cefad4639797c37eaa8c074830188fa0a44
bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat(). (GH-11276)

Format characters "%s" and "%V" in PyUnicode_FromFormat() and "%s" in PyBytes_FromFormat()
no longer read memory past the limit if precision is specified.
Misc/NEWS.d/next/Core and Builtins/2018-12-21-13-29-30.bpo-35552.1DzQQc.rst [new file with mode: 0644]
Objects/bytesobject.c
Objects/unicodeobject.c