[Mono-bugs] [Bug 508681] OverflowException on int.Parse(string with zero byte at the end)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 4 01:52:17 EST 2010



Carlos Alberto Cortez <calberto.cortez at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |calberto.cortez at gmail.com

--- Comment #1 from Carlos Alberto Cortez <calberto.cortez at gmail.com> 2010-01-04 06:52:15 UTC ---
With the following test case I couldn't reproduce it:

using System;

namespace IntParseZeroByte
        class MainClass
                public static void Main (string[] args)
                        string s = "2147483644\0";
                        int res = Int32.Parse (s);
                        Console.WriteLine ("Value = " + res);

Also, the 2.0.x series is quite old. Would you mind trying with a new version?

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list