[ADVAPI32]

- Hackfix CORE-8717 to stop 2nd stage from failing. Proper fix will be submitted to Wine.

svn path=/trunk/; revision=65040
This commit is contained in:
Thomas Faber 2014-10-27 11:52:44 +00:00
parent f1caf76d48
commit 6af614fb4a

View file

@ -3533,6 +3533,9 @@ static BOOL ParseStringSidToSid(LPCWSTR StringSid, PSID pSid, LPDWORD cBytes)
while (*StringSid == ' ') while (*StringSid == ' ')
StringSid++; StringSid++;
if (!*StringSid)
goto lend; /* ERROR_INVALID_SID */
*cBytes = ComputeStringSidSize(StringSid); *cBytes = ComputeStringSidSize(StringSid);
if (!pisid) /* Simply compute the size */ if (!pisid) /* Simply compute the size */
{ {