Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Math-Random-Secure CPAN distribution.

Report information
The Basics
Id: 115337
Status: resolved
Priority: 0/
Queue: Math-Random-Secure

People
Owner: Nobody in particular
Requestors: ryan.t.olson [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Math::Random::Secure
Date: Tue, 14 Jun 2016 16:26:03 -0700
To: bug-Math-Random-Secure [...] rt.cpan.org
From: Ryan Olson <ryan.t.olson [...] gmail.com>
Download (untitled) / with headers
text/plain 539b
The documentation of Math::Random::Secure states: Will automatically call srand if srand has never been called in this process or thread. That seems to imply that srand will be called again after a fork, but that doesn't seem tob e the case looking at the code: sub irand (;$) { my ($limit) = @_; Math::Random::Secure::srand() if !defined $RNG; Not sure if that's a documentation bug or a functionality bug, but I assume one or the other should be fixed. Happy to submit a patch if you have a repo somewhere I can push to.
Fixed in 0.07


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.