Author: jmorlan
Date: Tue Jul 1 11:35:01 2008
New Revision: 34236
URL:
http://svn.reactos.org/svn/reactos?rev=34236&view=rev
Log:
Fix under-allocation in LsaQueryInformationPolicy. (Bug 3428)
Modified:
trunk/reactos/dll/win32/advapi32/sec/lsa.c
Modified: trunk/reactos/dll/win32/advapi32/sec/lsa.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/sec/lsa…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/sec/lsa.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/sec/lsa.c [iso-8859-1] Tue Jul 1 11:35:01 2008
@@ -460,7 +460,7 @@
};
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;