[Mono-bugs] [Bug 22654] New - STFLD does not throw NullReferenceException
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
28 Mar 2002 00:03:21 -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 dihlewis@yahoo.co.uk.
http://bugzilla.ximian.com/show_bug.cgi?id=22654
--- shadow/22654 Wed Mar 27 19:03:21 2002
+++ shadow/22654.tmp.24209 Wed Mar 27 19:03:21 2002
@@ -0,0 +1,30 @@
+Bug#: 22654
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: dihlewis@yahoo.co.uk
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: STFLD does not throw NullReferenceException
+
+class X {
+ public static void Main () {
+ X x = null;
+ x.p = 1;
+ }
+
+ int p;
+}
+
+
+Both mint and mono segfault when x.p is assigned to. They should raise a
+NullReferenceException.