mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Fix under-allocation in LsaQueryInformationPolicy. (Bug 3428)
svn path=/trunk/; revision=34236
This commit is contained in:
parent
9f5ede7adb
commit
9c124a2de5
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ LsaQueryInformationPolicy(LSA_HANDLE PolicyHandle,
|
|||
};
|
||||
SID_IDENTIFIER_AUTHORITY localSidAuthority = {SECURITY_NT_AUTHORITY};
|
||||
|
||||
struct di * xdi = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(xdi));
|
||||
struct di * xdi = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*xdi));
|
||||
HKEY key;
|
||||
BOOL useDefault = TRUE;
|
||||
LONG ret;
|
||||
|
|
Loading…
Reference in a new issue