Skip to content

[3.6] bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683)#9685

Merged
miss-islington merged 1 commit into
python:3.6from
miss-islington:backport-96c5932-3.6
Oct 3, 2018
Merged

[3.6] bpo-34879: Fix a possible null pointer dereference in bytesobject.c (GH-9683)#9685
miss-islington merged 1 commit into
python:3.6from
miss-islington:backport-96c5932-3.6

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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 zspytz@gmail.com

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 <zspytz@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

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

1 similar comment
@miss-islington

Copy link
Copy Markdown
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