[Mono-bugs] [Bug 50080][Min] New - Fails to check that pointer is used in unsafe context.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 28 Apr 2004 22:36:39 -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 martin@ximian.com.

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

--- shadow/50080	2004-04-28 22:36:39.000000000 -0400
+++ shadow/50080.tmp.16447	2004-04-28 22:36:39.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 50080
+Product: Mono: Compilers
+Version: unspecified
+OS: unknown
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Minor
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: V1
+URL: 
+Cc: 
+Summary: Fails to check that pointer is used in unsafe context.
+
+class X {
+	static void Main ()
+	{
+	void *p = null;
+	byte *r = (byte *) (void *) p;
+
+	}
+}
+
+The above program should flag a cs0214