[Mono-bugs] [Bug 321781] Assembly.GetExecutingAssembly() incorrect behaviour

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 28 01:11:16 EDT 2008


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

User rkumpera at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=321781#c7


Rodrigo Kumpera <rkumpera at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |mprobst at novell.com




--- Comment #7 from Rodrigo Kumpera <rkumpera at novell.com>  2008-10-27 23:11:14 MDT ---
Why get_caller had to be changed as well?

Have you tested if it doesn't break System.Type::GetType or the change is
required to have similar fix over it?

The same applies to System.Reflection.Method::Invoke, get_caller is used to
implement core clr security.

Besides that, maybe the check should be for a RUNTIME_INVOKE wrapper before
reaching the first managed frame, which would signal a reflection call for
sure.
OTOH it would make the bookkeeping more complicated.


Mark, I'm pretty clueless on how coreclr works, what do you have to say about
this change?


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