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

Driver Seems to Cause AppCrash During Kerberos Auth

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.9.2
    • 1.9, 1.9.1
    • Security
    • None
    • Windows Server 2012 (DC)
      Windows Server 2012 (MongD)

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: