[Mono-bugs] [Bug 81462][Nor] New - Bug in the signcode tool

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Apr 26 10:22:49 EDT 2007


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 pieter at mentalis.org.

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

--- shadow/81462	2007-04-26 10:22:49.000000000 -0400
+++ shadow/81462.tmp.9904	2007-04-26 10:22:49.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 81462
+Product: Mono: Tools
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: tools
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: pieter at mentalis.org               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Bug in the signcode tool
+
+While going through the 'signcode' source, I saw the following code:
+
+    string auth = args [i++].ToLower ();
+    switch (auth) {
+    	case "individual":
+    		af.Authority = Authority.Commercial;
+    		break;
+    	case "commercial":
+    		af.Authority = Authority.Individual;
+    		break;
+    	default:
+    		Console.WriteLine ("Unknown authority {0}", auth);
+    		return 1;
+    }
+
+At first sight, this looks like a bug. When the user enters "individual" 
+on command line, the authority proeprty is set to 'commercial', and vice 
+versa.


More information about the mono-bugs mailing list