[Mono-bugs] [Bug 82819][Cos] Changed - Context.ClearKeyInfo doesn't zero-out secret keys

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 12 20:36:44 EDT 2007


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=82819

--- shadow/82819	2007-09-12 09:58:32.000000000 -0400
+++ shadow/82819.tmp.4060	2007-09-12 20:36:44.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 82819
 Product: Mono: Class Libraries
 Version: 1.2
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Cosmetic
 Component: Mono.Security
 AssignedTo: sebastien at ximian.com                            
 ReportedBy: pieter at mentalis.org               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -22,6 +22,15 @@
 
 I would erase secret data from memory as soon as possible, which means 
 adding code like this before setting the buffers to null:
 
 if (this.clientWriteKey != null)
   Array.Clear(this.clientWriteKey, 0, this.clientWriteKey.Length);
+
+------- Additional Comments From sebastien at ximian.com  2007-09-12 20:36 -------
+Right! that's what it should do.
+
+Mostly fixed in SVN r85722, except for the commented
+[client|server]WriteMAC, I need to test why if the comment or
+commented code is correct :)
+
+Thanks Pieter!


More information about the mono-bugs mailing list