Author: tfaber
Date: Mon Oct 27 11:52:44 2014
New Revision: 65040
URL:
http://svn.reactos.org/svn/reactos?rev=65040&view=rev
Log:
[ADVAPI32]
- Hackfix CORE-8717 to stop 2nd stage from failing. Proper fix will be submitted to Wine.
Modified:
trunk/reactos/dll/win32/advapi32/wine/security.c
Modified: trunk/reactos/dll/win32/advapi32/wine/security.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/wine/se…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/wine/security.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/wine/security.c [iso-8859-1] Mon Oct 27 11:52:44
2014
@@ -3533,6 +3533,9 @@
while (*StringSid == ' ')
StringSid++;
+ if (!*StringSid)
+ goto lend; /* ERROR_INVALID_SID */
+
*cBytes = ComputeStringSidSize(StringSid);
if (!pisid) /* Simply compute the size */
{