Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-30243: Fixed the possibility of a crash in _json. #1420

Merged
merged 5 commits into from
May 5, 2017

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented May 3, 2017

It was possible to get a core dump by using uninitialized
_json objects. Now __new__ methods create initialized objects.
__init__ methods are removed.

It was possible to get a core dump by using uninitialized
_json objects. Now __new__ methods create initialized objects.
__init__ methods are removed.
@mention-bot
Copy link

@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @tiran, @benjaminp and @loewis to be potential reviewers.

@serhiy-storchaka serhiy-storchaka merged commit 76a3e51 into python:master May 5, 2017
@serhiy-storchaka serhiy-storchaka deleted the json-new branch May 5, 2017 07:08
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request May 5, 2017
…-1420)

It was possible to get a core dump by using uninitialized
_json objects. Now __new__ methods create initialized objects.
__init__ methods are removed..
(cherry picked from commit 76a3e51)
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request May 5, 2017
…-1420)

It was possible to get a core dump by using uninitialized
_json objects. Now __new__ methods create initialized objects.
__init__ methods are removed..
(cherry picked from commit 76a3e51)
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request May 5, 2017
…-1420)

It was possible to get a core dump by using uninitialized
_json objects. Now __new__ methods create initialized objects.
__init__ methods are removed..
(cherry picked from commit 76a3e51)
serhiy-storchaka added a commit that referenced this pull request May 5, 2017
…#1469)

It was possible to get a core dump by using uninitialized
_json objects. Now __new__ methods create initialized objects.
__init__ methods are removed..
(cherry picked from commit 76a3e51)
serhiy-storchaka added a commit that referenced this pull request May 5, 2017
…#1470)

It was possible to get a core dump by using uninitialized
_json objects. Now __new__ methods create initialized objects.
__init__ methods are removed..
(cherry picked from commit 76a3e51)
serhiy-storchaka added a commit that referenced this pull request May 5, 2017
…#1471)

It was possible to get a core dump by using uninitialized
_json objects. Now __new__ methods create initialized objects.
__init__ methods are removed..
(cherry picked from commit 76a3e51)
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.

None yet

4 participants