mirror of https://github.com/python/cpython
Browse Source
Issue #27278: Fix os.urandom() implementation using getrandom() on Linux. Truncate size to INT_MAX and loop until we collected enough random bytes, instead of casting a directly Py_ssize_t to int.pull/40/head
2 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue