[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
Thu, 23 Oct 2003 23:35:02 -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 miguel@ximian.com.

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

--- shadow/50080	2003-10-23 23:35:01.000000000 -0400
+++ shadow/50080.tmp.27430	2003-10-23 23:35:02.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 50080
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+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