]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
get_random_data() can return NULL (for instance, if we can't open /dev/random
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 13 Mar 2007 14:43:14 +0000 (14:43 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 13 Mar 2007 14:43:14 +0000 (14:43 +0000)
commit36db0d6f72e81c449317e66624c7cebf651ccb3c
treefeb3c365732c7236133a632d776a77771c59698e
parent2b0d1b02243e2d7f2b64ee1c69a39df5555a75ba
get_random_data() can return NULL (for instance, if we can't open /dev/random
on Unix), yet cmdgen failed to deal with this. Spotted by Darren Tucker.

[originally from svn r7396]
cmdgen.c