[Mono-bugs] [Bug 79699][Nor] Changed - gacutil throws System.IndexOutOfRangeException
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Oct 19 12:25: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 sebastian.noack at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79699
--- shadow/79699 2006-10-19 12:24:25.000000000 -0400
+++ shadow/79699.tmp.4106 2006-10-19 12:25:15.000000000 -0400
@@ -19,6 +19,11 @@
When you call `gacutil ""` or `gacutil -f ""` or `gacutil "" -i` or any
othe variant where an empty-string is passed to gacutil, I get a
System.IndexOutOfRangeException.
It is because of the IsSwitch method access the first charecter of the
argument without checking it length before. I have provided a patch therfore.
+
+------- Additional Comments From sebastian.noack at gmail.com 2006-10-19 12:25 -------
+Created an attachment (id=17873)
+This patch fixes the reported bug.
+
More information about the mono-bugs
mailing list