• Glauber Costa's avatar
    fix null pointer access with no file pointer · 7dd44327
    Glauber Costa authored
    I happen to be working on a system that lacks urandom. While the code does try
    to handle this case and artificially create some bytes if the file pointer is
    empty, it does try to close it unconditionally, leading to a segfault.
    7dd44327
util.c 17.4 KB