mirror of https://github.com/python/cpython
Browse Source
Issue #27778: Fix a memory leak in os.getrandom() when the getrandom() is interrupted by a signal and a signal handler raises a Python exception. Modify also os_getrandom_impl() to avoid the temporary buffer, use directly a Python bytes object.pull/9921/head
2 changed files with 21 additions and 10 deletions
Loading…
Reference in new issue