summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-04-12 20:28:49 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-04-12 20:28:49 (GMT)
commit9d24271d86eb45ed569467cc8d6ef0f491778f26 (patch)
tree6c8a5136e291f8e4c60cbe2e1bda1f8f53432543 /Misc
parentc6ec54d8eb47e685dfcc489d4c6e2a78bb817ef0 (diff)
downloadcpython-9d24271d86eb45ed569467cc8d6ef0f491778f26.zip
cpython-9d24271d86eb45ed569467cc8d6ef0f491778f26.tar.gz
cpython-9d24271d86eb45ed569467cc8d6ef0f491778f26.tar.bz2
Fix os.urandom() on Solaris 11.3
Issue #26735: Fix os.urandom() on Solaris 11.3 and newer when reading more than 1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per call.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2ce0620..dbebc76 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -102,6 +102,10 @@ Core and Builtins
Library
-------
+- Issue #26735: Fix :func:`os.urandom` on Solaris 11.3 and newer when reading
+ more than 1,024 bytes: call ``getrandom()`` multiple times with a limit of
+ 1024 bytes per call.
+
- Issue #16329: Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'.
- Issue #13952: Add .csv to mimetypes.types_map. Patch by Geoff Wilson.