mirror of https://github.com/dahall/Vanara.git
Fixed IsValidAcl recursion bug (#463) using PR from @rul3rst4
parent
7919216bbe
commit
01114f73b0
|
@ -155,7 +155,7 @@ public static class WinNTExtensions
|
||||||
/// <summary>Validates an access control list (ACL).</summary>
|
/// <summary>Validates an access control list (ACL).</summary>
|
||||||
/// <param name="pAcl">The pointer to the ACL structure to query.</param>
|
/// <param name="pAcl">The pointer to the ACL structure to query.</param>
|
||||||
/// <returns><c>true</c> if the ACL is valid; otherwise, <c>false</c>.</returns>
|
/// <returns><c>true</c> if the ACL is valid; otherwise, <c>false</c>.</returns>
|
||||||
public static bool IsValidAcl(this PACL pAcl) => IsValidAcl(pAcl);
|
public static bool IsValidAcl(this PACL pAcl) => AdvApi32.IsValidAcl(pAcl);
|
||||||
|
|
||||||
/// <summary>Determines whether the components of a security descriptor are valid.</summary>
|
/// <summary>Determines whether the components of a security descriptor are valid.</summary>
|
||||||
/// <param name="pSD">The pointer to the SECURITY_DESCRIPTOR structure to query.</param>
|
/// <param name="pSD">The pointer to the SECURITY_DESCRIPTOR structure to query.</param>
|
||||||
|
|
Loading…
Reference in New Issue