[Mono-bugs] [Bug 43783][Wis] Changed - Methods in Array.cs do not check for invalid arguments
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Tue, 27 May 2003 23:33:29 -0400 (EDT)
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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=43783
--- shadow/43783 Tue May 27 23:23:21 2003
+++ shadow/43783.tmp.17388 Tue May 27 23:33:29 2003
@@ -2,22 +2,22 @@
Product: Mono/Class Libraries
Version: unspecified
OS: other
OS Details:
Status: NEW
Resolution:
-Severity:
-Priority: Minor
+Severity: 004 Four hours
+Priority: Wishlist
Component: CORLIB
-AssignedTo: mono-bugs@ximian.com
+AssignedTo: bmaurer@users.sf.net
ReportedBy: bmaurer@users.sf.net
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Array.Sort (Array, int, int) does not check for invalid arguments
+Summary: Methods in Array.cs do not check for invalid arguments
Description of Problem:
Array.Sort (Array, int, int) does not check for values outside the bounds
of the array. Thus, when given such arguments an IndexOutOfRange exception
is thrown. It should throw an ArgumentOutOfRange exception.
@@ -87,6 +87,13 @@
How often does this happen?
Always.
Additional Information:
ROTORFAILURE: array/co3770sort_oii.cs
Error E_856df
+
+------- Additional Comments From bmaurer@users.sf.net 2003-05-27 23:33 -------
+This problem looks more wide spread than I thought. It looks like our
+main problem is that none of the methods check for null arguments and
+indexes that are out of bounds.
+
+Assigning to myself. I can fix this.