]> 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:11:09 +0000 (06:11 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Sep 2018 13:11:09 +0000 (06:11 -0700)
commit470a435f3b42c9be5fdb7f7b04f3df5663ba7305
tree4b9b2acd8f5230ff4f5bdc2ddc0f28e64fe9b0e5
parent45452b738b7f94221a94e903fb5975222fbb7a8f
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