diff options
author | Jack Lloyd <[email protected]> | 2016-10-22 13:49:43 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-22 13:49:43 -0400 |
commit | b5f3744536fc7041282740da07ee8fdd0e874aaa (patch) | |
tree | d7818919d71b9157479389e70b175ae45969e436 /src/lib/prov | |
parent | 9033015bb94be08dc76f1bc2138cd85500bad831 (diff) |
Fix handling of file descriptor zero
If opening /dev/*random resulted in fd 0, we would both not use
that RNG and leak the file descriptor. Found with Coverity.
Diffstat (limited to 'src/lib/prov')
0 files changed, 0 insertions, 0 deletions