[Mono-bugs] [Bug 23664] New - Loader cant cope with non-array types in memberref_parent_typespec

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Apr 2002 13:34:09 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=23664

--- shadow/23664	Fri Apr 19 09:34:09 2002
+++ shadow/23664.tmp.17576	Fri Apr 19 09:34:09 2002
@@ -0,0 +1,31 @@
+Bug#: 23664
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Loader cant cope with non-array types in memberref_parent_typespec
+
+The metadata loader does not cope with an interesting case:
+
+MEMBERREF_PARENT_TYPESPEC:
+     If the type spec signature pointed to is not an array, the code
+     crashes.
+
+I found an instance of this in the Oberon compiler, you can get a 
+binary of the Oberon compiler here:
+
+http://www.superin.formativ.net/mono/oberon/oberonmono.zip
+
+It is a .NET self-hosting compiler written in Oberon (5k lines of code,
+really nice).  And the image generated by the compiler passes peverify.