[Mono-bugs] [Bug 57907][Wis] New - Can't read zip file generated by OpenOffice

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 30 Apr 2004 11:29:01 -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 trow@ximian.com.

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

--- shadow/57907	2004-04-30 11:29:01.000000000 -0400
+++ shadow/57907.tmp.12843	2004-04-30 11:29:01.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 57907
+Product: Mono: Class Libraries
+Version: unspecified
+OS: SUSE 9.1
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: SharpZipLib
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: trow@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Can't read zip file generated by OpenOffice
+
+I'm not sure if this is a problem with SharpZipLib or with the file
+OpenOffice generated, but the attached sample program fails with
+
+Unhandled Exception: System.ArgumentOutOfRangeException: ArgRange_Array
+Parameter name: byteCount
+in <0x00135> System.Text.UTF8Encoding:InternalGetChars
+(byte[],int,int,char[],int,uint&,uint&,bool,bool)
+in <0x00036> UTF8Decoder:GetChars (byte[],int,int,char[],int)
+in <0x00142> System.IO.StreamReader:ReadBuffer ()
+in <0x00050> (wrapper remoting-invoke-with-check)
+System.IO.StreamReader:ReadBuffer ()
+in <0x00065> System.IO.StreamReader:Read ()
+in <0x00087> System.IO.StreamReader:ReadLine ()
+in <0x0009b> MetaProblem:Main ()