[Mono-bugs] [Bug 62388][Nor] Changed - BitConverter.ToString(byte[]) works improperly with zero-length arrays

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 3 Aug 2004 18:57: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=62388

--- shadow/62388	2004-08-03 18:50:08.000000000 -0400
+++ shadow/62388.tmp.16051	2004-08-03 18:57:29.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 62388
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: info@x-tensive.com               
 QAContact: mono-bugs@ximian.com
@@ -32,6 +32,16 @@
 Since BitConverter is used in System.Data.SqlClient classes (as far as I 
 remembers, Tds70 or something like this), this bug makes impossible to 
 e.g. pass zero-length byte arrays as query parameters.
 
 ------- Additional Comments From bmaurer@users.sf.net  2004-08-03 18:36 -------
 Please do not change this back to critical. It is a normal bug.
+
+------- Additional Comments From bmaurer@users.sf.net  2004-08-03 18:57 -------
+class X {
+	static void Main ()
+	{
+		System.BitConverter.ToString(new byte[0]);
+	}
+}
+
+This program throws an exception on msft as well.