Make /dev/urandom fd static, or it pick up random descriptor
(stack garbadge) and read from it Should go into 2.2
This commit is contained in:
parent
90ad3da1ab
commit
9b7e3298e3
@ -1137,7 +1137,7 @@ long
|
||||
get_random()
|
||||
{
|
||||
static int how = 0;
|
||||
int fd;
|
||||
static int fd;
|
||||
long rnd;
|
||||
|
||||
if (how == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user