diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-05-05 07:40:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-05 07:40:47 (GMT) |
commit | ee2294860e224c2b08cc6847d3c9a0ec3875c3d8 (patch) | |
tree | c80348b51b7353804e0f12b3e03649f4a8494c87 /Misc/NEWS | |
parent | ab6b962ef241be97536573d7490ce1cfc74fde18 (diff) | |
download | cpython-ee2294860e224c2b08cc6847d3c9a0ec3875c3d8.zip cpython-ee2294860e224c2b08cc6847d3c9a0ec3875c3d8.tar.gz cpython-ee2294860e224c2b08cc6847d3c9a0ec3875c3d8.tar.bz2 |
[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)
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,6 +49,10 @@ Extension Modules Library ------- +- bpo-30243: Removed the __init__ methods of _json's scanner and encoder. + Misusing them could cause memory leaks or crashes. Now scanner and encoder + objects are completely initialized in the __new__ methods. + - bpo-30185: Avoid KeyboardInterrupt tracebacks in forkserver helper process when Ctrl-C is received. |