Author: fireball
Date: Thu Feb 24 22:50:00 2011
New Revision: 50895
URL:
http://svn.reactos.org/svn/reactos?rev=50895&view=rev
Log:
[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.
Modified:
trunk/reactos/dll/win32/secur32/sspi.c
Modified: trunk/reactos/dll/win32/secur32/sspi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/sspi.c?r…
==============================================================================
--- trunk/reactos/dll/win32/secur32/sspi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/secur32/sspi.c [iso-8859-1] Thu Feb 24 22:50:00 2011
@@ -80,7 +80,7 @@
SECURITY_STATUS ret = SEC_E_OK;
*pcPackages = 0;
-
+ *ppPackageInfo = NULL;
/*
if (packageTable)
{
@@ -113,7 +113,7 @@
} */
FreeContextBuffer(info);
}
-
+ *ppPackageInfo = NULL;
UNIMPLEMENTED;
return ret;