[Mono-bugs] [Bug 573682] segtaults when encoding/decoding non-UTF8 strings

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 9 13:27:32 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=573682

http://bugzilla.novell.com/show_bug.cgi?id=573682#c14


--- Comment #14 from Ted Unangst <tedu at fogcreek.com> 2010-02-09 18:27:31 UTC ---
I think I have a combination of patches that works.
1.  Add braces to the else so that the continue in CP1252.cs is inside the
else.
2.  Add braces and the continue to CP1250.cs.
3.  Move the charCount-- to the top of the loop.

With all those changes, my tests pass.

Won't fix CP1253 or other encodings, but we don't happen to be using or testing
them.

-- 
Configure bugmail: http://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.


More information about the mono-bugs mailing list