http://bugzilla.novell.com/show_bug.cgi?id=556533#c0
Summary: BigInteger IndexOutOfRangeException constructing from
a zero length array
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
Blocker: ---
Created an attachment (id=328188)
--> (http://bugzilla.novell.com/attachment.cgi?id=328188)
Prevent possible index out of range exceptions
If a zero length array is passed to a BigInteger constructor, the Normalize
method enforces that 'length' is at least 1. This causes index out of range
exceptions if you ever try to use that BigInteger.
Attached is a trivial fix for the issue.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs