[Mono-bugs] [Bug 81857][Nor] Changed - BigInteger.IsProbablePrime() fails on some primes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 3 12:26:03 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastien at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81857

--- shadow/81857	2007-07-03 11:53:47.000000000 -0400
+++ shadow/81857.tmp.17723	2007-07-03 12:26:03.000000000 -0400
@@ -57,6 +57,10 @@
 ------- Additional Comments From sebastien at ximian.com  2007-07-03 11:53 -------
 Patch in SVN r81270.
 
 I'll look into the exception (definitively a bug) and the other case,
 which may not be a bug (as the method is called IsProbablePrime and
 can refuse valid prime ;-)
+
+------- Additional Comments From sebastien at ximian.com  2007-07-03 12:26 -------
+The IndexOutOfRangeException is fixed in SVN r81272.
+This was due to typecasting an negative int to an uint without a check.


More information about the mono-bugs mailing list