[Mono-bugs] [Bug 75786][Maj] Changed - Mono strong naming loader will load assemblies that do not match manifest

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 11 16:16:17 EDT 2005


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 paul.betts at gmail.com.

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

--- shadow/75786	2005-08-11 16:10:30.000000000 -0400
+++ shadow/75786.tmp.28241	2005-08-11 16:16:17.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 75786
 Product: Mono: Runtime
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: JIT
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: Paul.Betts at Gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -48,6 +48,22 @@
 be addressed.
 
 ------- Additional Comments From Paul.Betts at Gmail.com  2005-08-11 16:10 -------
 Created an attachment (id=15563)
 Example that shows #75786
 
+
+------- Additional Comments From Paul.Betts at Gmail.com  2005-08-11 16:16 -------
+Execute the following commands to build:
+
+mcs -out:theDll.dll -target:library dll_orig.cs AssemblyInfo.cs
+mcs -out:theDll_new.dll -target:library dll_subst.cs AssemblyInfo.cs
+mcs -out:theExe.exe -reference:theDll.dll AssemblyInfoExe.cs exe.cs
+
+mono theExe.exe
+    Hello World!
+
+mv theDll.dll theDll_old.dll && mv theDll_new.dll theDll.dll
+
+mono theExe.exe     # This should fail with FileLoadException
+    Hello World!    # but it doesn't
+                    # theDll_new.dll could format your HD or something


More information about the mono-bugs mailing list