[Mono-bugs] [Bug 67395][Nor] Changed - Replacing a null char from a string removes all characters after the null char

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 31 Oct 2004 10:26:54 -0500 (EST)


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 vargaz@gmail.com.

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

--- shadow/67395	2004-10-06 08:52:07.000000000 -0400
+++ shadow/67395.tmp.602	2004-10-31 10:26:54.000000000 -0500
@@ -55,6 +55,15 @@
 patch for NUNit test for String.Replace
 
 
 ------- Additional Comments From lupus@ximian.com  2004-10-06 08:52 -------
 This is yet another ICU bug (tested with LANG=en_US, en_GB, it_IT).
 It works fine with icu disabled.
+
+------- Additional Comments From vargaz@gmail.com  2004-10-31 10:26 -------
+AKA:
+
+http://www.jtcsv.com/cgibin/icu-bugs/incoming?findid=4184&go=Go
+
+Also, the code in ves_icall_System_String_InternalReplace_Str_Comp 
+does not handle NULL characters since it uses u_strcat and
+mono_string_from_utf16. So this is not strictly an ICU bug.