Subject: | makerandom_itv hang on perl 5.6.1 |
In Crypt::Random::makerandom_itv version 1.23, line 94, the int(PARI(2)**$size) appears to return "inf" when $size is 1024 or higher in perl 5.6.1. I haven't verified that it's a perl 5.6.1 issue, however it works as expected in 5.8.4.
The impact of this is that calling makerandom_itv with a size of 1024 or higher causes an infinite loop and hangs. (make test in Crypt::Primes exhibits this hang, as does Crypt::RSA making a 2048 bit key)
I experienced this problem in both Redhat 7.3 and Debian 3.0 (woody)