]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 18 Sep 2018 13:14:13 +0000 (06:14 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Sep 2018 13:14:13 +0000 (06:14 -0700)
commitf7666e828cc3d5873136473ea36ba2013d624fa1
tree24ab9efb91964cdeb7476c3465d2d7955c888008
parent1a107eea8e91e50c5c9025e945c78eb1aa9b874d
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
(cherry picked from commit cb5778f00ce48631c7140f33ba242496aaf7102b)

Co-authored-by: Christian Heimes <christian@python.org>
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