antirez/redis — pull request #1672 by mattsta (2014-04-08 19:40:34+00:00)
Title: fix null pointer access with no file pointer

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.

Closes #1671