-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from Drawaes/FixHandleLeak
Fix handle leak in LASS
- Loading branch information
Showing
8 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<PackageReleaseNotes> | ||
* Fixed Security Handle Leak in LASS | ||
</PackageReleaseNotes> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/CondenserDotNet.Middleware/ProtocolSwitcher/ProtocolSwitcherExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
using Microsoft.AspNetCore.Server.Kestrel; | ||
using Microsoft.AspNetCore.Server.Kestrel.Core; | ||
|
||
namespace CondenserDotNet.Middleware.ProtocolSwitcher | ||
{ | ||
public static class ProtocolSwitcherExtensions | ||
{ | ||
/*public static KestrelServerOptions Switcheroo(this KestrelServerOptions options) | ||
public static ListenOptions Switcheroo(this ListenOptions options) | ||
{ | ||
var prevFilter = options.ConnectionFilter ?? new NoOpConnectionFilter(); | ||
options.ConnectionFilter = new ProtocolSwitchConnectionFilter(prevFilter); | ||
options.ConnectionAdapters.Add(new ProtocolSwitchConnectionFilter()); | ||
return options; | ||
}*/ | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...Middleware/WindowsAuthentication/Interop/Windows/Secur32/Interop.DeleteSecurityContext.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Runtime.InteropServices; | ||
|
||
internal partial class Interop | ||
{ | ||
internal partial class Secur32 | ||
{ | ||
[DllImport(Libraries.Secur32, CharSet = CharSet.Unicode, SetLastError = false)] | ||
internal static extern SEC_RESULT DeleteSecurityContext(SecurityHandle phCredential); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<VersionPrefix>4.1.0</VersionPrefix> | ||
<VersionPrefix>4.1.1</VersionPrefix> | ||
<VersionSuffix>beta</VersionSuffix> | ||
</PropertyGroup> | ||
</Project> |