[Mono-bugs] [Bug 69120][Cri] New - Bug in CreateDomain

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 5 Nov 2004 03:57:52 -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 mono@evain.net.

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

--- shadow/69120	2004-11-05 03:57:52.000000000 -0500
+++ shadow/69120.tmp.9367	2004-11-05 03:57:52.000000000 -0500
@@ -0,0 +1,49 @@
+Bug#: 69120
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mono@evain.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Bug in CreateDomain
+
+Description of Problem:
+Methods :
+
+public static AppDomain CreateDomain (string friendlyName)
+
+and 
+
+public static AppDomain CreateDomain (string friendlyName, Evidence
+securityInfo)
+
+now always throws null ref exception due to a null check on the info
+parameter of the method :
+
+public static AppDomain CreateDomain (string friendlyName, Evidence
+securityInfo, AppDomainSetup info)
+
+Steps to reproduce the problem:
+1. Call one of the method described befre
+
+Actual Results:
+null ref
+
+Expected Results:
+a newyly created AppDomain
+
+How often does this happen? 
+Always
+
+Additional Information:
+May I suggest to simply remove the null check ? I just don't know if this
+will impact C code.