Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8a4088d8
Commit
8a4088d8
authored
Jun 12, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jun 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Replace some mixed tabs with spaces.
parent
84019596
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
security.c
dlls/advapi32/security.c
+7
-7
No files found.
dlls/advapi32/security.c
View file @
8a4088d8
...
...
@@ -3346,7 +3346,7 @@ static BOOL ParseStringSidToSid(LPCWSTR StringSid, PSID pSid, LPDWORD cBytes)
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
TRACE
(
"StringSid is NULL, returning FALSE
\n
"
);
return
FALSE
;
return
FALSE
;
}
*
cBytes
=
ComputeStringSidSize
(
StringSid
);
...
...
@@ -3359,7 +3359,7 @@ static BOOL ParseStringSidToSid(LPCWSTR StringSid, PSID pSid, LPDWORD cBytes)
if
(
StringSid
[
0
]
==
'S'
&&
StringSid
[
1
]
==
'-'
)
/* S-R-I-S-S */
{
DWORD
i
=
0
,
identAuth
;
DWORD
csubauth
=
((
*
cBytes
-
sizeof
(
SID
))
/
sizeof
(
DWORD
))
+
1
;
DWORD
csubauth
=
((
*
cBytes
-
sizeof
(
SID
))
/
sizeof
(
DWORD
))
+
1
;
StringSid
+=
2
;
/* Advance to Revision */
pisid
->
Revision
=
atoiW
(
StringSid
);
...
...
@@ -3375,10 +3375,10 @@ static BOOL ParseStringSidToSid(LPCWSTR StringSid, PSID pSid, LPDWORD cBytes)
goto
lend
;
/* ERROR_INVALID_SID */
}
pisid
->
SubAuthorityCount
=
csubauth
;
pisid
->
SubAuthorityCount
=
csubauth
;
/* Advance to identifier authority */
while
(
*
StringSid
&&
*
StringSid
!=
'-'
)
while
(
*
StringSid
&&
*
StringSid
!=
'-'
)
StringSid
++
;
if
(
*
StringSid
==
'-'
)
StringSid
++
;
...
...
@@ -3401,14 +3401,14 @@ static BOOL ParseStringSidToSid(LPCWSTR StringSid, PSID pSid, LPDWORD cBytes)
StringSid
++
;
while
(
*
StringSid
)
{
while
(
*
StringSid
&&
*
StringSid
!=
'-'
)
{
while
(
*
StringSid
&&
*
StringSid
!=
'-'
)
StringSid
++
;
pisid
->
SubAuthority
[
i
++
]
=
atoiW
(
StringSid
);
}
if
(
i
!=
pisid
->
SubAuthorityCount
)
if
(
i
!=
pisid
->
SubAuthorityCount
)
goto
lend
;
/* ERROR_INVALID_SID */
bret
=
TRUE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment