mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Do not write beyond the buffer.
svn path=/trunk/; revision=26709
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user