summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-05-05 07:40:47 (GMT)
committerGitHub <noreply@github.com>2017-05-05 07:40:47 (GMT)
commitee2294860e224c2b08cc6847d3c9a0ec3875c3d8 (patch)
treec80348b51b7353804e0f12b3e03649f4a8494c87 /Misc/NEWS
parentab6b962ef241be97536573d7490ce1cfc74fde18 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8a42a23..8ea2fd3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.