[Mono-bugs] [Bug 363450] New: [PATCH]System.Reflection.Module:: Resolve* leak loader errors and crash mono

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 20 17:49:07 EST 2008


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


           Summary: [PATCH]System.Reflection.Module::Resolve* leak loader
                    errors and crash 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: rkumpera at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


The methods ResolveField, ResolveMethod and ResolveType leaks a loader error if
one happens and this lead to all sort of weird crashes.


The attached test might not cause the bug as they depend on the order of the
memberef and typedef tables. If compiling then don't produce the expected
result just use a 'monodis --memberef' / 'monodis --typeref' to discover the
right index of the funky reference.

One thing to note is that MS 2.0 just returns null with these tests which is
incredible stupid, otherwise something like the attached patch will fix it.


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