diff --git a/reactos/dll/win32/aclui/sidcache.c b/reactos/dll/win32/aclui/sidcache.c index 73513ffe4c8..9c7aade81e9 100644 --- a/reactos/dll/win32/aclui/sidcache.c +++ b/reactos/dll/win32/aclui/sidcache.c @@ -588,7 +588,8 @@ CreateSidCacheMgr(IN HANDLE Heap, { /* zero the static part of the structure */ ZeroMemory(scm, - sizeof(SIDCACHEMGR)); + FIELD_OFFSET(SIDCACHEMGR, + SystemName)); scm->RefCount = 1; scm->Heap = Heap;