]> granicus.if.org Git - python/commit
[2.7] bpo-30243: Fixed the possibility of a crash in _json. (GH-1420) (#1471)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 5 May 2017 08:21:45 +0000 (11:21 +0300)
committerGitHub <noreply@github.com>
Fri, 5 May 2017 08:21:45 +0000 (11:21 +0300)
commit5d7a18f3b65bd958d876391cca3c381396021639
tree097a8f35daafc7fd8be3679d948fae4113e9c82c
parentd81f9e24ea89c0aaded1e0d3f8d8076bbd58c19a
[2.7] bpo-30243: Fixed the possibility of a crash in _json. (GH-1420) (#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 76a3e51a403bc84ed536921866c86dd7d07aaa7e)
Misc/NEWS
Modules/_json.c