[Mono-bugs] [Bug 491517] New: [verifier] missing visibility checks on calls

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 2 10:18:11 EDT 2009


           Summary: [verifier] missing visibility checks on calls
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

A MethodAccessException was found when running the site:

with Moonlight. After some investigation it turns out that the tuner
internalized Encoding.get_CodePage (inside mscorlib.dll) but kept the call
inside System.Xml.XmlDictionaryWriter

note: mscorlib.dll has no InternalsVisibleTo for
System.Runtime.Serialization.dll where XmlDictionaryWriter resides.

So the tuned binary is bad and CoreCLR caught this and throwns a

However the verifier should have caught this invalid visibility call before,
right ?

Configure bugmail: http://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