[Mono-bugs] [Bug 78911][Nor] New - [PATCH] System.IO.Ports.SerialPort does not allow writing a byte[0]

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 20 13:01:47 EDT 2006


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 skolima at gmail.com.

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

--- shadow/78911	2006-07-20 13:01:47.000000000 -0400
+++ shadow/78911.tmp.30935	2006-07-20 13:01:47.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 78911
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: skolima at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Summary: [PATCH] System.IO.Ports.SerialPort does not allow writing a byte[0]
+
+Description of Problem:
+
+SerialPort throw a ArgumentOutOfRange exception when user attempts to
+write/read a byte[0]. This is inconsistent with MS.Net, which accepts such
+a value, and is in contradiction to msdn docs (which allow this).
+
+
+Steps to reproduce the problem:
+Compile and run attached program.
+
+Actual Results:
+ArgumentOutOfRange Exception
+
+Expected Results:
+No exception
+
+
+How often does this happen? 
+Always
+
+
+Additional Information:
+
+Test and patch follow.


More information about the mono-bugs mailing list