[Mono-bugs] [Bug 551615] Korean text (cp949) cannot be decoded

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 30 19:30:51 EDT 2009


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

User greg.smolyn at strangeloopnetworks.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=551615#c1





--- Comment #1 from Greg Smolyn <greg.smolyn at strangeloopnetworks.com>  2009-10-30 17:30:48 MDT ---
I'm pretty sure it has to do with the fact I'm attempting to read one character
at a time.

Convert's "charCount" is not being enforced-- nothing is passed to GetChars()
to enforce a character limit, and in some cases in GetChars() a charIndex++ can
occur on the chars[] buffer.  

If you chars[] buffer happens to be 1 byte, this will definitely cause an out
of range exception.

-- 
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