From ff16e0a2fcfb796a359d8ed378f8f0e39eea579a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Mon, 21 Nov 2016 14:42:14 +0000 Subject: [PATCH] [LSASRV]: Use LsapAllocateHeapZero to initialize the AllocateLsaHeap member of the LSA auth DispatchTable. Should fix login (this means some of the code calling DispatchTable->AllocateLsaHeap expect zero-initialized memory). Addendum to r73330. CORE-12432 svn path=/trunk/; revision=73331 --- reactos/dll/win32/lsasrv/authpackage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/lsasrv/authpackage.c b/reactos/dll/win32/lsasrv/authpackage.c index 0858601046d..7a3bf7ffc50 100644 --- a/reactos/dll/win32/lsasrv/authpackage.c +++ b/reactos/dll/win32/lsasrv/authpackage.c @@ -488,7 +488,7 @@ LsapInitAuthPackages(VOID) DispatchTable.AddCredential = &LsapAddCredential; DispatchTable.GetCredentials = &LsapGetCredentials; DispatchTable.DeleteCredential = &LsapDeleteCredential; - DispatchTable.AllocateLsaHeap = &LsapAllocateHeap; + DispatchTable.AllocateLsaHeap = &LsapAllocateHeapZero; DispatchTable.FreeLsaHeap = &LsapFreeHeap; DispatchTable.AllocateClientBuffer = &LsapAllocateClientBuffer; DispatchTable.FreeClientBuffer = &LsapFreeClientBuffer;