summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-12-30 05:54:25 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-12-30 05:54:25 (GMT)
commite9ee207622f0f78e31b8277ccb9eaa895ea3472d (patch)
treeb1f0113b031a3dcc5343a68393337ecd94b58bd8 /Misc
parent9ea82ddad55d38ffad3cff5ce8afadaf0eaa59a3 (diff)
downloadcpython-e9ee207622f0f78e31b8277ccb9eaa895ea3472d.zip
cpython-e9ee207622f0f78e31b8277ccb9eaa895ea3472d.tar.gz
cpython-e9ee207622f0f78e31b8277ccb9eaa895ea3472d.tar.bz2
Issue #29061: secrets.randbelow() would hang with a negative input
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 5faed18..1c3f573 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -369,6 +369,7 @@ Daniel Dittmar
Josip Djolonga
Walter Dörwald
Jaromir Dolecek
+Brendan Donegan
Ismail Donmez
Robert Donohue
Marcos Donolo
diff --git a/Misc/NEWS b/Misc/NEWS
index 3436c0a..f3c6e9e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -43,6 +43,9 @@ Library
- Issue #29085: Allow random.Random.seed() to use high quality OS randomness
rather than the pid and time.
+- Issue #29061: Fixed bug in secrets.randbelow() which would hang when given
+ a negative input. Patch by Brendan Donegan.
+
- Issue #29079: Prevent infinite loop in pathlib.resolve() on Windows
- Issue #13051: Fixed recursion errors in large or resized