We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae08056 commit 769fb73Copy full SHA for 769fb73
src/security.c
@@ -53,7 +53,7 @@ PACL _app_createaccesscontrollist (
53
{
54
PACCESS_ALLOWED_ACE ace = NULL;
55
EXPLICIT_ACCESS ea[3] = {0};
56
- PACL new_dacl;
+ PACL new_dacl = NULL;
57
ULONG count = 0;
58
BOOLEAN is_currentuserhaverights = FALSE;
59
BOOLEAN is_openforeveryone = FALSE;
@@ -144,7 +144,7 @@ VOID _app_setexplicitaccess (
144
ea->grfAccessPermissions = rights;
145
ea->grfInheritance = inheritance;
146
147
- RtlZeroMemory (&(ea->Trustee), sizeof (ea->Trustee));
+ RtlZeroMemory (&(ea->Trustee), sizeof (TRUSTEE_W));
148
149
BuildTrusteeWithSidW (&(ea->Trustee), sid);
150
}
0 commit comments