[Mono-bugs] [Bug 450050] Mono crashes to freeing invalid pointer when using custom ICustomMarshaler marshaling return value

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 29 10:55:47 EST 2008


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

User juhovh at iki.fi added comment
https://bugzilla.novell.com/show_bug.cgi?id=450050#c5


Juho Vähä-Herttua <juhovh at iki.fi> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
 Attachment #256559|0                                               |1
        is obsolete|                                                |




--- Comment #5 from Juho Vähä-Herttua <juhovh at iki.fi>  2008-11-29 08:55:47 MST ---
Created an attachment (id=256744)
 --> (https://bugzilla.novell.com/attachment.cgi?id=256744)
Correct version of the test case

I used a constant string inside the structure to make this crash more clear..
I hope you agree that the native code in itself doesn't really have a problem.
The return pointer is just never supposed to be freed...


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