From 01114f73b0a7ecc46fee4a2334f5bfe2b4fd3a49 Mon Sep 17 00:00:00 2001 From: David Hall Date: Mon, 6 May 2024 07:16:33 -0600 Subject: [PATCH] Fixed IsValidAcl recursion bug (#463) using PR from @rul3rst4 --- 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 cfd22edb..53ef1646 100644 --- a/PInvoke/Security/AdvApi32/WinNT.Extensions.cs +++ b/PInvoke/Security/AdvApi32/WinNT.Extensions.cs @@ -155,7 +155,7 @@ public static class WinNTExtensions /// Validates an access control list (ACL). /// The pointer to the ACL structure to query. /// true if the ACL is valid; otherwise, false. - public static bool IsValidAcl(this PACL pAcl) => IsValidAcl(pAcl); + public static bool IsValidAcl(this PACL pAcl) => AdvApi32.IsValidAcl(pAcl); /// Determines whether the components of a security descriptor are valid. /// The pointer to the SECURITY_DESCRIPTOR structure to query.