[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:
Aleksey Bragin 2011-02-24 22:50:00 +00:00
parent 753b99d8a5
commit 5b6ab375ee

View file

@ -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;