]> granicus.if.org Git - python/commit
[3.5] bpo-30243: Fixed the possibility of a crash in _json. (GH-1420) (#1470)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 5 May 2017 07:40:47 +0000 (10:40 +0300)
committerGitHub <noreply@github.com>
Fri, 5 May 2017 07:40:47 +0000 (10:40 +0300)
commitee2294860e224c2b08cc6847d3c9a0ec3875c3d8
treec80348b51b7353804e0f12b3e03649f4a8494c87
parentab6b962ef241be97536573d7490ce1cfc74fde18
[3.5] bpo-30243: Fixed the possibility of a crash in _json. (GH-1420) (#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 76a3e51a403bc84ed536921866c86dd7d07aaa7e)
Misc/NEWS
Modules/_json.c