Fix under-allocation in LsaQueryInformationPolicy. (Bug 3428)

svn path=/trunk/; revision=34236
This commit is contained in:
Jeffrey Morlan 2008-07-01 16:35:01 +00:00
parent 9f5ede7adb
commit 9c124a2de5

View file

@ -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;