davidfowl / AspNetCoreDiagnosticScenarios

This repository has examples of broken patterns in ASP.NET Core applications
7.69k stars 740 forks source link

Add missing SafeAccessTokenHandle to WindowsIdentity.RunImpersonated examples #51

Closed paulomorgado closed 5 years ago

paulomorgado commented 5 years ago

The calls to WindowsIdentity.RunImpersonated are missing the SafeAccessTokenHandle argument.