mail-archives/mono-bugs/2003-March/004125.html

91 строка
3.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 39094][Wis] New - System.Text.ASCIIEncoding &amp; Latin1Encoding IndexOutOfRangeException problem
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="004124.html">
<LINK REL="Next" HREF="004126.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 39094][Wis] New - System.Text.ASCIIEncoding &amp; Latin1Encoding IndexOutOfRangeException problem
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 39094][Wis] New - System.Text.ASCIIEncoding &amp; Latin1Encoding IndexOutOfRangeException problem">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Wed, 5 Mar 2003 07:07:34 -0500 (EST)</I>
<P><UL>
<LI> Previous message: <A HREF="004124.html">[Mono-bugs] [Bug 39091][Wis] Changed - Incorrect TypeCode for DBNull
</A></li>
<LI> Next message: <A HREF="004126.html">[Mono-bugs] [Bug 39094][Wis] Changed - System.Text.ASCIIEncoding &amp; Latin1Encoding IndexOutOfRangeException problem
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4125">[ date ]</a>
<a href="thread.html#4125">[ thread ]</a>
<a href="subject.html#4125">[ subject ]</a>
<a href="author.html#4125">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:avd@openlinksw.com.">avd@openlinksw.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=39094">http://bugzilla.ximian.com/show_bug.cgi?id=39094</A>
--- shadow/39094 Wed Mar 5 07:07:34 2003
+++ shadow/39094.tmp.16917 Wed Mar 5 07:07:34 2003
@@ -0,0 +1,27 @@
+Bug#: 39094
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+ReportedBy: <A HREF="mailto:avd@openlinksw.com">avd@openlinksw.com</A>
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.Text.ASCIIEncoding &amp; Latin1Encoding IndexOutOfRangeException problem
+
+Description of Problem:
+
+The GetString() method of System.Text.ASCIIEncoding and
+System.Text.Latin1Encoding throw an exception on zero
+length byte array:
+
+System.IndexOutOfRangeException: Array index is out of range
+in &lt;0x0005a&gt; 00 System.Text.Latin1Encoding:GetString (byte[])
+in &lt;0x00082&gt; 00 .TestGetString:Test (string,System.Text.Encoding)
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="004124.html">[Mono-bugs] [Bug 39091][Wis] Changed - Incorrect TypeCode for DBNull
</A></li>
<LI> Next message: <A HREF="004126.html">[Mono-bugs] [Bug 39094][Wis] Changed - System.Text.ASCIIEncoding &amp; Latin1Encoding IndexOutOfRangeException problem
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4125">[ date ]</a>
<a href="thread.html#4125">[ thread ]</a>
<a href="subject.html#4125">[ subject ]</a>
<a href="author.html#4125">[ author ]</a>
</LI>
</UL>
</body></html>