[Mono-bugs] [Bug 348522] SIGABRT when a custom Binder doesn' t convert parameters correctly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 23 21:55:10 EST 2008


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

User miguel at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=348522#c1


Miguel de Icaza <miguel at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |miguel at novell.com
           Severity|Normal                                          |Critical




--- Comment #1 from Miguel de Icaza <miguel at novell.com>  2008-01-23 19:55:08 MST ---
Am raising the priority of this bug, as in its current state, we just blindly
pass the pointer to the objects without doing any type checking, which allows
today to pass longs to ints, or objects of one type as another type.

This will in particular be important for our Moonlight stuff.

I have attached a fix that requires some review (in particular, I do not know
what to do with the case TYPE_OBJECT/STRING/CLASS/ARRAY/SZARRAY and the
t->byref is set, notice that no check is performed in that code path).

Also there is a sample program that shows the problem.


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