Skip to content

Commit

Permalink
Add even more possible values for open_basedir
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-scott committed Mar 18, 2016
1 parent ff76e1a commit 60f3a93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/random.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@
PATH_SEPARATOR,
strtolower($RandomCompat_basedir)
);
$RandomCompatUrandom = in_array(
'/dev',
$RandomCompatUrandom = (array() !== array_intersect(
array('/dev', '/dev/', '/dev/urandom'),
$RandomCompat_open_basedir
);
));
$RandomCompat_open_basedir = null;
}

Expand Down

0 comments on commit 60f3a93

Please sign in to comment.