[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


http://bugzilla.novell.com/show_bug.cgi?id=491517


           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:
http://www.farseergames.com/games/tirestorm/tirestorm.aspx

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
System.Xml.XmlDictionaryWriter::CreateTextWriter(System.IO.Stream,System.Text.Encoding,System.Boolean)

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

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