[Mono-bugs] [Bug 41684][Nor] Changed - ArrayList.ValidateRange is wrong
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 21 Apr 2003 19:46:04 -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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=41684
--- shadow/41684 Mon Apr 21 19:20:54 2003
+++ shadow/41684.tmp.2154 Mon Apr 21 19:46:04 2003
@@ -1,14 +1,14 @@
Bug#: 41684
Product: Mono/Class Libraries
Version: unspecified
-OS:
+OS: unknown
OS Details: All
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: bernard@ugsolutions.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -27,6 +27,13 @@
}
should be:
if (index + count > this.count) {
throw new ArgumentException();
}
+
+------- Additional Comments From gonzalo@ximian.com 2003-04-21 19:46 -------
+Can you please provide a simple test case that makes ValidateRange
+fail? That way, the one that takes care of this bug can easilly test
+that ValidateRange is wrong and that the fix is fine.
+
+TIA.