mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:45:42 +00:00
don't read the DACL if it's not present or if it's a NULL-DACL
svn path=/trunk/; revision=18013
This commit is contained in:
parent
7542d31c35
commit
0243833fef
1 changed files with 6 additions and 5 deletions
|
@ -330,7 +330,8 @@ ReloadPrincipalsList(IN PSECURITY_PAGE sp)
|
||||||
if (GetSecurityDescriptorDacl(SecurityDescriptor,
|
if (GetSecurityDescriptorDacl(SecurityDescriptor,
|
||||||
&DaclPresent,
|
&DaclPresent,
|
||||||
&Dacl,
|
&Dacl,
|
||||||
&DaclDefaulted))
|
&DaclDefaulted) &&
|
||||||
|
DaclPresent && Dacl != NULL)
|
||||||
{
|
{
|
||||||
PSID Sid;
|
PSID Sid;
|
||||||
PVOID Ace;
|
PVOID Ace;
|
||||||
|
@ -978,10 +979,10 @@ SecurityPageProc(IN HWND hwndDlg,
|
||||||
(DWORD_PTR)sp);
|
(DWORD_PTR)sp);
|
||||||
|
|
||||||
sp->hiPrincipals = ImageList_LoadBitmap(hDllInstance,
|
sp->hiPrincipals = ImageList_LoadBitmap(hDllInstance,
|
||||||
MAKEINTRESOURCE(IDB_USRGRPIMAGES),
|
MAKEINTRESOURCE(IDB_USRGRPIMAGES),
|
||||||
16,
|
16,
|
||||||
3,
|
3,
|
||||||
0);
|
0);
|
||||||
|
|
||||||
/* setup the listview control */
|
/* setup the listview control */
|
||||||
ListView_SetExtendedListViewStyleEx(sp->hWndPrincipalsList,
|
ListView_SetExtendedListViewStyleEx(sp->hWndPrincipalsList,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue