Driver Seems to Cause AppCrash During Kerberos Auth

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Peter Garafano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: