[Mono-bugs] [Bug 37752][Maj] Changed - incorrect code with a return from fixed context

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sat, 8 Feb 2003 11:08:36 -0500 (EST)


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 lupus@ximian.com.

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

--- shadow/37752	Sat Feb  8 06:54:13 2003
+++ shadow/37752.tmp.31655	Sat Feb  8 11:08:36 2003
@@ -1,23 +1,23 @@
 Bug#: 37752
 Product: Mono/MCS
 Version: unspecified
 OS: other
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Major
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: lupus@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: incorrect code with a return from unsafe context
+Summary: incorrect code with a return from fixed context
 
 This sample is compile wrong by mcs:
 class T {
 	static int Main () {
 		byte[] b = new byte [4];
 		unsafe {
@@ -36,6 +36,10 @@
     } // end of method default int32 Main() 
 
 So the code runs past the end of the method.
 This pattern is present in corlib and this bug prevents
 bootstrapping with mini (because it verifies the code)
 and it could cause random crashes with mono.
+
+------- Additional Comments From lupus@ximian.com  2003-02-08 11:08 -------
+I committed a fix for this bug. It would be good if miguel
+or martin can confirm it's the right fix.