http://bugzilla.novell.com/show_bug.cgi?id=595929
http://bugzilla.novell.com/show_bug.cgi?id=595929#c0 Summary: Mono.DataConverter.Unpack experiences infinite loop when using bracket repeat counts Classification: Mono Product: Mono: Class Libraries Version: SVN Platform: x86 OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: CORLIB AssignedTo: mono-bugs@lists.ximian.com ReportedBy: novellandmono.20.pc...@spamgourmet.com QAContact: mono-bugs@lists.ximian.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729) The following test method doesn't return (waited for up to 5 minutes). [TestMethod()] public void Unpack_UsingBracketRepeaters_Matches() { string description = "[10]b"; byte[] buffer = new byte[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; byte[] expected = buffer; int startIndex = 0; IList actual = DataConverter.Unpack(description, buffer, startIndex); CollectionAssert.AreEqual(expected,actual); } Reproducible: Always Steps to Reproduce: [TestMethod()] public void Unpack_UsingBracketRepeaters_Matches() { string description = "[10]b"; byte[] buffer = new byte[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; byte[] expected = buffer; int startIndex = 0; IList actual = DataConverter.Unpack(description, buffer, startIndex); CollectionAssert.AreEqual(expected,actual); } Actual Results: Never returns from the Unpack method. Expected Results: A passed test. -- 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. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs