From 4a718b12df841bbd42839309b3eeee2e0e432359 Mon Sep 17 00:00:00 2001 From: dahall Date: Fri, 25 Mar 2022 10:09:00 -0600 Subject: [PATCH] Fixed recursive bug in WinNTExtensions.IsValidSecurityDescriptor --- PInvoke/Security/AdvApi32/WinNT.Extensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PInvoke/Security/AdvApi32/WinNT.Extensions.cs b/PInvoke/Security/AdvApi32/WinNT.Extensions.cs index 18f66753..0ddceb4f 100644 --- a/PInvoke/Security/AdvApi32/WinNT.Extensions.cs +++ b/PInvoke/Security/AdvApi32/WinNT.Extensions.cs @@ -166,7 +166,7 @@ namespace Vanara.PInvoke /// true if the components of the security descriptor are valid. If any of the components of the security descriptor are not /// valid, the return value is false. /// - public static bool IsValidSecurityDescriptor(this PSECURITY_DESCRIPTOR pSD) => IsValidSecurityDescriptor(pSD); + public static bool IsValidSecurityDescriptor(this PSECURITY_DESCRIPTOR pSD) => AdvApi32.IsValidSecurityDescriptor(pSD); /// Gets the size, in bytes, of an ACE. /// The pointer to the ACE structure to query.