[Mono-bugs] [Bug 408738] New: Constructor is calling SetKey, which is a overriden method, in RSAPKCS1KeyExchangeFormatter.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jul 13 15:37:46 EDT 2008


           Summary: Constructor is calling SetKey, which is a overriden
                    method, in RSAPKCS1KeyExchangeFormatter.
           Product: Mono: Class Libraries
           Version: SVN
          Platform: PC
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System.Security
        AssignedTo: spouliot at novell.com
        ReportedBy: nestor.salceda at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=227477)
 --> (https://bugzilla.novell.com/attachment.cgi?id=227477)
Patch to the code (with ChangeLog)

I have found this using Gendarme.

Target: System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
Assembly: mscorlib, Version=, Culture=neutral,

Severity: High  Confidence: High
Location: System.Void
Source: debugging symbols unavailable, IL offset 0x0008
Details: Calling a virtual method, 'System.Void
from System.Void

And while I was refactoring I had discovered that SetKey should throw an
ArgumentNullException if the RSA key is null, then I attach the patch and the

You can get more info in the following links:


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

More information about the mono-bugs mailing list