[Mono-bugs] [Bug 78647][Nor] New - HashAlgorithm.TransformBlock can
break if destination offset is different than source (on same
buffer)
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jun 14 14:31:22 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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78647
--- shadow/78647 2006-06-14 14:31:22.000000000 -0400
+++ shadow/78647.tmp.14533 2006-06-14 14:31:22.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 78647
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: sebastien at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: HashAlgorithm.TransformBlock can break if destination offset is different than source (on same buffer)
+
+Description of Problem:
+HashAlgorithm.TransformBlock can break if destination offset is different
+than source (on same buffer).
+
+Steps to reproduce the problem:
+1. hash.TransformBlock (buffer, 10, 10, buffer, 0);
+2. hash.Hash
+
+Actual Results:
+Wrong hash is returned.
+
+Expected Results:
+Correct hash is returned.
+
+How often does this happen?
+Always.
+
+Additional Information:
+* See
+http://lists.ximian.com/archives/public/mono-patches/2006-June/075590.html
+* Not sure if it only affects some, or all, hash algorithms (found on MD5)
More information about the mono-bugs
mailing list