mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
[LSASRV]
Initialize an uninitialized variable in AttributeSize. Fixes crashing advapi32_winetest lsa svn path=/trunk/; revision=56443
This commit is contained in:
parent
7de47192fe
commit
df4294e89c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue