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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80090 --- shadow/80090 2006-11-29 19:16:39.000000000 -0500 +++ shadow/80090.tmp.13002 2006-11-29 19:16:39.000000000 -0500 @@ -0,0 +1,42 @@ +Bug#: 80090 +Product: Mono: Class Libraries +Version: 1.2 +OS: +OS Details: Ubuntu 6.10 +Status: NEW +Resolution: +Severity: +Priority: Cosmetic +Component: System +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Bug handling fromat strings in cmd-line arguments + +Hi all! + +Description of Problem: following code snippet + class MainClass + { + public static void Main(string[] args) + { + String new_string = string.Format("foo {0}", args[0]); + Console.WriteLine(new_string); + } + } + +If you compile the project and run it with the following commandline +options "##.#" this occurs: + +Unhandled Exception: System.IndexOutOfRangeException: Array index is out of +range. + at testing.MainClass.Main (System.String[] args) [0x00000] + + +Additional Information: +I am currently trying to analyse this problem in my bachelor thesis +including a security analysis of mono components and will publish the +results at around may 2007 when the thesis is finished. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
