Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 3, 2018

formatfloat() was not checking if PyBytes_FromStringAndSize()
failed, which could lead to a null pointer dereference in
_PyBytes_FormatEx().
(cherry picked from commit 96c5932)

Co-authored-by: Zackery Spytz [email protected]

https://bugs.python.org/issue34879

…ythonGH-9683)

formatfloat() was not checking if PyBytes_FromStringAndSize()
failed, which could lead to a null pointer dereference in
_PyBytes_FormatEx().
(cherry picked from commit 96c5932)

Co-authored-by: Zackery Spytz <[email protected]>
@miss-islington
Copy link
Contributor Author

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

1 similar comment
@miss-islington
Copy link
Contributor Author

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

@miss-islington miss-islington merged commit 6580e52 into python:3.6 Oct 3, 2018
@miss-islington miss-islington deleted the backport-96c5932-3.6 branch October 3, 2018 06:34
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.

5 participants