mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[LSASRV]
Initialize an uninitialized variable in AttributeSize. Fixes crashing advapi32_winetest lsa svn path=/trunk/; revision=56443
This commit is contained in:
@@ -152,6 +152,7 @@ LsarQueryPrimaryDomain(LSAPR_HANDLE PolicyHandle,
|
||||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
/* Domain Name */
|
||||
AttributeSize = 0;
|
||||
Status = LsapGetObjectAttribute((PLSA_DB_OBJECT)PolicyHandle,
|
||||
L"PolPrDmN",
|
||||
NULL,
|
||||
@@ -241,7 +242,7 @@ Done:
|
||||
}
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user