[Mono-bugs] [Bug 467509] Marshalling arrays of COM interfaces doesn't work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 11 11:52:16 EST 2009


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

User tom_hindle at sil.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=467509#c6





--- Comment #6 from tom hindle <tom_hindle at sil.org>  2009-02-11 09:52:15 MST ---
I think the patch is flawed in 2 ways.

Firstly: 
memory cleanup of the bstr array works on the dangerous assumption that on next
call to mono_array_to_lparray the previous bstr array is no longer needed.

Secondly:
Strings arrays are handled differently in emit_marshal_array and don't use
mono_array_to_lparray. (so the dangerous code is never used) 

I will submit and updated patch.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list