mirror of
https://github.com/reactos/reactos.git
synced 2024-09-18 00:33:04 +00:00
[SECUR32]
- Don't leave packageinfo uninitialized. Even though it's not the way it should work, wine's rpcrt4 doesn't really expect that function to return no packages at all. Should prevent freeing an unitialized pointer. See issue #5778 for more details. svn path=/trunk/; revision=50895
This commit is contained in:
parent
753b99d8a5
commit
5b6ab375ee
|
@ -80,7 +80,7 @@ EnumerateSecurityPackagesW (
|
||||||
SECURITY_STATUS ret = SEC_E_OK;
|
SECURITY_STATUS ret = SEC_E_OK;
|
||||||
|
|
||||||
*pcPackages = 0;
|
*pcPackages = 0;
|
||||||
|
*ppPackageInfo = NULL;
|
||||||
/*
|
/*
|
||||||
if (packageTable)
|
if (packageTable)
|
||||||
{
|
{
|
||||||
|
@ -113,7 +113,7 @@ EnumerateSecurityPackagesA(
|
||||||
} */
|
} */
|
||||||
FreeContextBuffer(info);
|
FreeContextBuffer(info);
|
||||||
}
|
}
|
||||||
|
*ppPackageInfo = NULL;
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue