[Mono-bugs] [Bug 79365][Nor] New - Assembly.CodeBase should not be built from the module name

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 11 16:09:15 EDT 2006


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 robertj at gmx.net.

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

--- shadow/79365	2006-09-11 16:09:15.000000000 -0400
+++ shadow/79365.tmp.678	2006-09-11 16:09:15.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 79365
+Product: Mono: Runtime
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: robertj at gmx.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Assembly.CodeBase should not be built from the module name
+
+Assembly.CodeBase is computed from the image's module name.
+This is not always correct, because the module name doesn't
+necessary match the file name.
+
+The attached test case generates an assembly with a different
+module name, loads it and reproduces the problem.
+
+The bug is at
+
+ves_icall_System_Reflection_Assembly_get_code_base
+ves_icall_System_Reflection_Assembly_FillName
+
+and maybe at some other places where the module name is used to
+generate a file name.


More information about the mono-bugs mailing list