[Mono-bugs] [Bug 77663][Nor] New - RecordProtocol.EncodeRecord loops infinitely

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 28 03:05:21 EST 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 pawel.sakowski at mind-breeze.com.

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

--- shadow/77663	2006-02-28 03:05:21.000000000 -0500
+++ shadow/77663.tmp.1272	2006-02-28 03:05:21.000000000 -0500
@@ -0,0 +1,25 @@
+Bug#: 77663
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.Security
+AssignedTo: sebastien at ximian.com                            
+ReportedBy: pawel.sakowski at mind-breeze.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: RecordProtocol.EncodeRecord loops infinitely
+
+Description of Problem:
+In Mono.Security.Protocol.Tls.RecordProtocol.EncodeRecord the while loop
+exit condition (position >= offset+count) may never be achieved. 
+
+position is incremented in such way that it may never exceed count. Thus,
+if offset > 0, the loop never ends, instead executing empty iterations with
+position==count, fragmentLength==0, position<count+offset.


More information about the mono-bugs mailing list