[Mono-bugs] [Bug 81956][Nor] Changed - ArrayOutOfBounds in BigInteger class

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 13 14:26:44 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 alan.mcgovern at gmail.com.


--- shadow/81956	2007-08-13 14:26:25.000000000 -0400
+++ shadow/81956.tmp.13999	2007-08-13 14:26:44.000000000 -0400
@@ -493,6 +493,31 @@
 ------- Additional Comments From alan.mcgovern at gmail.com  2007-08-13 14:26 -------
 Created an attachment (id=19793)
 Zip file containing all the necessary files to reproduce
+------- Additional Comments From alan.mcgovern at gmail.com  2007-08-13 14:26 -------
+Ok, I've attached a full and complete testcase in a zip file above.
+testcase.cs: this is the actual testcase
+test[1-6].cs: these are the bare minimum files required to compile the
+Mono.BigInteger stuff
+compile using gmcs and run under ms.net (you need the /unsafe switch(,
+it dies.
+Compile using csc and run under ms.net, it doesn't die.
+Expected result:
+It should run perfectly no matter what compiler is used.
+As for thread safety, both tests i pasted should be equally
+threadsafe. Before performing any calcuations i create new instances
+of the big integers involved. The second testcase uses instance
+methods which are 100% used thread-safely.

More information about the mono-bugs mailing list