[Mono-bugs] [Bug 82836][Nor] New - UnixStream.Write throw an exception on an empty byte[]

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 13 10:37:16 EDT 2007


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 stephane at delcroix.org.

http://bugzilla.ximian.com/show_bug.cgi?id=82836

--- shadow/82836	2007-09-13 10:37:16.000000000 -0400
+++ shadow/82836.tmp.15681	2007-09-13 10:37:16.000000000 -0400
@@ -0,0 +1,26 @@
+Bug#: 82836
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.POSIX
+AssignedTo: miguel at ximian.com                            
+ReportedBy: stephane at delcroix.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: UnixStream.Write throw an exception on an empty byte[]
+
+UnixStream.Write (byte [], int, int) throw an exception is the byte [] has
+zero-length:
+
+> Unhandled Exception: System.IndexOutOfRangeException: Array index is out
+of range.
+
+According to the System.IO.Stream documentation, this is not an exceptional
+case...


More information about the mono-bugs mailing list