summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2018-09-18 15:13:09 +0200
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-09-18 06:13:09 -0700
commit18b20bad75b4ff0486940fba4ec680e96e70f3a2 (patch)
tree8e8e98dedad14c44568288b4303e8b7552575932 /Misc
parent5f883fcb9b50b8335953b3849b7f224d5cd59d56 (diff)
downloadcpython-git-18b20bad75b4ff0486940fba4ec680e96e70f3a2.tar.gz
[2.7] bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146) (GH-9394)
The C accelerated _elementtree module now initializes hash randomization salt from _Py_HashSecret instead of libexpat's default CPRNG. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623. (cherry picked from commit cb5778f00ce48631c7140f33ba242496aaf7102b) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Security/2018-09-10-16-05-39.bpo-34623.Ua9jMv.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Security/2018-09-10-16-05-39.bpo-34623.Ua9jMv.rst b/Misc/NEWS.d/next/Security/2018-09-10-16-05-39.bpo-34623.Ua9jMv.rst
new file mode 100644
index 0000000000..31ad92ef85
--- /dev/null
+++ b/Misc/NEWS.d/next/Security/2018-09-10-16-05-39.bpo-34623.Ua9jMv.rst
@@ -0,0 +1,2 @@
+The C accelerated _elementtree module now initializes hash randomization
+salt from _Py_HashSecret instead of libexpat's default CSPRNG.