]> granicus.if.org Git - python/commit
bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146)
authorChristian Heimes <christian@python.org>
Tue, 18 Sep 2018 12:38:58 +0000 (14:38 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 18 Sep 2018 12:38:58 +0000 (05:38 -0700)
commitcb5778f00ce48631c7140f33ba242496aaf7102b
tree9905106a1ee7ce94d9fa93b6ac395634c2f24c2f
parent0185f34ddcf07b78feb6ac666fbfd4615d26b028
bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146)

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
Include/pyexpat.h
Misc/NEWS.d/next/Security/2018-09-10-16-05-39.bpo-34623.Ua9jMv.rst [new file with mode: 0644]
Modules/_elementtree.c
Modules/pyexpat.c