mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
[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:
parent
f1caf76d48
commit
6af614fb4a
|
@ -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 */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue