[CSHARP-980] Driver Seems to Cause AppCrash During Kerberos Auth Created: 28/May/14 Updated: 02/Apr/16 Resolved: 16/Jun/14 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Security |
| Affects Version/s: | 1.9, 1.9.1 |
| Fix Version/s: | 1.9.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Peter Garafano (Inactive) | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows Server 2012 (DC) |
||
| Issue Links: |
|
||||
| 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. |
| Comments |
| Comment by Githook User [ 16/Jun/14 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |
| Comment by Githook User [ 16/Jun/14 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |