[Mono-bugs] [Bug 59648][Nor] Changed - UTF8Encoding.GetChars() fails for some byte data

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 7 Jun 2004 09:46:24 -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 atsushi@ximian.com.

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

--- shadow/59648	2004-06-07 09:18:53.000000000 -0400
+++ shadow/59648.tmp.14144	2004-06-07 09:46:24.000000000 -0400
@@ -79,6 +79,14 @@
 (b) Overlong are dangerous in many other places in the framework.
 Removing the check will open up many other holes elsewhere.
 
 Question: does this (ignore) happens only when there's remaining data
 after the overlong ? That seems to be a difference between your code
 and the unit tests.
+
+------- Additional Comments From atsushi@ximian.com  2004-06-07 09:46 -------
+OK, I extracted tests from UTF8EncodingTest.cs but was inconsistently
+modified (that was what I had been wondering why make
+run-test-ondotnet didn't complain). Now I found that the error is
+thrown only when throwOnInvalid is true.
+
+Attaching a new patch to pass our nunit tests.