Author: tkreuzer
Date: Sun Apr 29 10:51:28 2012
New Revision: 56443
URL:
http://svn.reactos.org/svn/reactos?rev=56443&view=rev
Log:
[LSASRV]
Initialize an uninitialized variable in AttributeSize. Fixes crashing advapi32_winetest
lsa
Modified:
trunk/reactos/dll/win32/lsasrv/policy.c
Modified: trunk/reactos/dll/win32/lsasrv/policy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/policy.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/policy.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/policy.c [iso-8859-1] Sun Apr 29 10:51:28 2012
@@ -152,6 +152,7 @@
return STATUS_INSUFFICIENT_RESOURCES;
/* Domain Name */
+ AttributeSize = 0;
Status = LsapGetObjectAttribute((PLSA_DB_OBJECT)PolicyHandle,
L"PolPrDmN",
NULL,
@@ -241,7 +242,7 @@
}
}
- return STATUS_SUCCESS;
+ return Status;
}