projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7542d31
)
don't read the DACL if it's not present or if it's a NULL-DACL
author
Thomas Bluemel
<thomas@reactsoft.com>
Fri, 23 Sep 2005 15:31:04 +0000
(15:31 +0000)
committer
Thomas Bluemel
<thomas@reactsoft.com>
Fri, 23 Sep 2005 15:31:04 +0000
(15:31 +0000)
svn path=/trunk/; revision=18013
reactos/lib/aclui/aclui.c
patch
|
blob
|
history
diff --git
a/reactos/lib/aclui/aclui.c
b/reactos/lib/aclui/aclui.c
index
ed9f2cf
..
030ca42
100644
(file)
--- a/
reactos/lib/aclui/aclui.c
+++ b/
reactos/lib/aclui/aclui.c
@@
-330,7
+330,8
@@
ReloadPrincipalsList(IN PSECURITY_PAGE sp)
if (GetSecurityDescriptorDacl(SecurityDescriptor,
&DaclPresent,
&Dacl,
- &DaclDefaulted))
+ &DaclDefaulted) &&
+ DaclPresent && Dacl != NULL)
{
PSID Sid;
PVOID Ace;
@@
-978,10
+979,10
@@
SecurityPageProc(IN HWND hwndDlg,
(DWORD_PTR)sp);
sp->hiPrincipals = ImageList_LoadBitmap(hDllInstance,
- MAKEINTRESOURCE(IDB_USRGRPIMAGES),
- 16,
- 3,
- 0);
+
MAKEINTRESOURCE(IDB_USRGRPIMAGES),
+
16,
+
3,
+
0);
/* setup the listview control */
ListView_SetExtendedListViewStyleEx(sp->hWndPrincipalsList,