• Victor Stinner's avatar
    Fix memleak in os.getrandom() · ec2319c4
    Victor Stinner yazdı
    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.
    ec2319c4
posixmodule.c 334 KB