[Mono-bugs] [Bug 461911] New: Likely heap corruption by CJK encodings

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 23 05:19:56 EST 2008


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


           Summary: Likely heap corruption by CJK encodings
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kornelpal at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=262202)
 --> (https://bugzilla.novell.com/attachment.cgi?id=262202)
StringsTest.cs

The test case is based on StringsTest.vb in mono-basic but I've converted it to
C# and removed insignificant parts.

It is an NUnit test case that causes the runtime to crash (at least on Windows)
when executed using nunit-console.exe.

I belive that this is heap corruption because by replacing decoder.Reset() with
enc.GetDecoder() the test runs just fine (and the actual VB test succeeds as
well).


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


More information about the mono-bugs mailing list