diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-20 21:00:59 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-20 21:00:59 (GMT) |
commit | ec2319c46d11e8f486e7def785339af5415a3559 (patch) | |
tree | e07dfd50ae27a470fade7c623d2deac6c9fb91c3 /configure | |
parent | 75024c6589539f72af69ce61cd6493b193989c2d (diff) | |
download | cpython-ec2319c46d11e8f486e7def785339af5415a3559.zip cpython-ec2319c46d11e8f486e7def785339af5415a3559.tar.gz cpython-ec2319c46d11e8f486e7def785339af5415a3559.tar.bz2 |
Fix memleak in os.getrandom()
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.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions