don't read the DACL if it's not present or if it's a NULL-DACL Modified: trunk/reactos/lib/aclui/aclui.c _____
Modified: trunk/reactos/lib/aclui/aclui.c --- trunk/reactos/lib/aclui/aclui.c 2005-09-23 14:15:30 UTC (rev 18012) +++ trunk/reactos/lib/aclui/aclui.c 2005-09-23 15:31:04 UTC (rev 18013) @@ -330,7 +330,8 @@
if (GetSecurityDescriptorDacl(SecurityDescriptor, &DaclPresent, &Dacl, - &DaclDefaulted)) + &DaclDefaulted) && + DaclPresent && Dacl != NULL) { PSID Sid; PVOID Ace; @@ -978,10 +979,10 @@ (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,