mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
Do not write beyond the buffer.
svn path=/trunk/; revision=26709
This commit is contained in:
parent
acd6160248
commit
10f84bdddc
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue