Visitar URL original
[3.7] bpo-35552: Fix reading past the end in PyUnicode_FromFormat() and PyBytes_FromFormat(). (GH-11276) by miss-islington · Pull Request #11533 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20251017020645/https://github.com/python/cpython/pull/11533
Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 12, 2019 •

Format characters "%s" and "%V" in PyUnicode_FromFormat() and "%s" in PyBytes_FromFormat()
no longer read memory past the limit if precision is specified.
(cherry picked from commit d586ccb)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue35552

…ytes_FromFormat(). (pythonGH-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.
(cherry picked from commit d586ccb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit cbc7c2c into python:3.7 Jan 12, 2019
@miss-islington miss-islington deleted the backport-d586ccb-3.7 branch January 12, 2019 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants