mirror of
https://github.com/reactos/reactos.git
synced 2024-08-25 20:58:53 +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;
|
||||
|
||||
*pcPackages = 0;
|
||||
|
||||
*ppPackageInfo = NULL;
|
||||
/*
|
||||
if (packageTable)
|
||||
{
|
||||
|
@ -113,7 +113,7 @@ EnumerateSecurityPackagesA(
|
|||
} */
|
||||
FreeContextBuffer(info);
|
||||
}
|
||||
|
||||
*ppPackageInfo = NULL;
|
||||
UNIMPLEMENTED;
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue