[Mono-bugs] [Bug 46602][Maj] New - incorrect instance size (mono_class_layout_fields)

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 18 Jul 2003 20:37:41 -0400 (EDT)


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 l_m@pacbell.net.

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

--- shadow/46602	Fri Jul 18 20:37:41 2003
+++ shadow/46602.tmp.2558	Fri Jul 18 20:37:41 2003
@@ -0,0 +1,25 @@
+Bug#: 46602
+Product: Mono/Runtime
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: l_m@pacbell.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: incorrect instance size (mono_class_layout_fields)
+
+Description of Problem:
+In (mono/mono/metadata/class.c) mono_class_layout_fields, real_size is 
+used uninitialized for layout == TYPE_ATTRIBUTE_EXPLICIT_LAYOUT.
+
+Steps to reproduce the problem:
+1. mint mono/mono/tests/field-layout.exe fails with g_assert (offsets [0] 
+< 10000) at interp.c.#1.243:1346