]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-35552: Fix reading past the end in PyString_FromFormat(). (GH-11276) (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 12 Jan 2019 09:20:50 +0000 (11:20 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Jan 2019 09:20:50 +0000 (11:20 +0200)
commit555755ecff2669f4e020147d7d3a0aec71abb679
tree1966454d8bded6084522b3f8d8d4b58329aa3b5b
parent08a81df05004147ee174ece645679576ab867860
[2.7] bpo-35552: Fix reading past the end in PyString_FromFormat(). (GH-11276) (GH-11534)

Format character "%s" in PyString_FromFormat() no longer read memory
past the limit if precision is specified.
(cherry picked from commit d586ccb04f79863c819b212ec5b9d873964078e4)
Misc/NEWS.d/next/Core and Builtins/2018-12-21-13-29-30.bpo-35552.1DzQQc.rst [new file with mode: 0644]
Objects/stringobject.c