Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-980

Driver Seems to Cause AppCrash During Kerberos Auth

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.2
    • Affects Version/s: 1.9, 1.9.1
    • Component/s: Security
    • None
    • Environment:
      Windows Server 2012 (DC)
      Windows Server 2012 (MongD)

      When attempting to auth against a mongod with kerberos, the driver makes a call to unmanaged code which (according to WinDbg) causes Heap Corruption, which, in turn, brings down the CLR. This type of crash cannot be caught. Previous versions of the driver do not appear to have this problem.

      I have traced the problem to MongoDB.Driver.Communication.Security.Mechanisms.Sspi.SecurityContext.GetMaxTokenSize(), Line 418.

      The faulting module shown in the crash dumps is ntdll.dll.

            Assignee:
            craig.wilson@mongodb.com Craig Wilson
            Reporter:
            peter.garafano@mongodb.com Peter Garafano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: