https://bugzilla.novell.com/show_bug.cgi?id=415628

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=415628#c5


Ted Unangst <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                                        |NEW
      Info Provider|[EMAIL PROTECTED]                               |




--- Comment #5 from Ted Unangst <[EMAIL PROTECTED]>  2008-11-11 14:25:12 MST ---
Attaching sample reader and baddata.bin.

Expected:
[EMAIL PROTECTED]:/tmp$ ~/mono/2.0/bin/mono readbad.exe readbad.cs
read them all

Or even reading itself, a fairly nonsensical string:
[EMAIL PROTECTED]:/tmp$ ~/mono/2.0/bin/mono readbad.exe readbad.exe
read them all

With attached file:
[EMAIL PROTECTED]:/tmp$ ~/mono/2.0/bin/mono readbad.exe baddata.bin 

Unhandled Exception: System.ArgumentException: Arg_InsufficientSpace
Parameter name: chars
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte* bytes, Int32
byteCount, System.Char* chars, Int32 charCount, System.UInt32& leftOverBits,
System.UInt32& leftOverCount, System.Object provider,
System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg,
Boolean flush) [0x00000] 
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte[] bytes, Int32
byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex,
System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object
provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]&
bufferArg, Boolean flush) [0x00000] 
  at System.Text.UTF8Encoding.GetChars (System.Byte[] bytes, Int32 byteIndex,
Int32 byteCount, System.Char[] chars, Int32 charIndex) [0x00000] 
  at System.Text.Encoding.GetChars (System.Byte[] bytes, Int32 index, Int32
count) [0x00000] 
  at System.Text.Encoding.GetString (System.Byte[] bytes, Int32 index, Int32
count) [0x00000] 
  at System.Text.UTF8Encoding.GetString (System.Byte[] bytes, Int32 index,
Int32 count) [0x00000] 
  at System.Text.Encoding.GetString (System.Byte[] bytes) [0x00000] 
  at Fun.Boom.Main (System.String[] args) [0x00000] 


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to