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
3f4c2670
Commit
3f4c2670
authored
Oct 16, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Owner and group SIDs in security descriptors are optional in many server calls.
So print "<not present>" when they aren't provided instead of "<invalid sid>".
parent
2cecc630
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
trace.c
server/trace.c
+8
-2
No files found.
server/trace.c
View file @
3f4c2670
...
...
@@ -711,12 +711,18 @@ static void dump_inline_security_descriptor( const struct security_descriptor *s
fprintf
(
stderr
,
",owner="
);
if
((
sd
->
owner_len
>
FIELD_OFFSET
(
SID
,
SubAuthority
[
255
]))
||
(
offset
+
sd
->
owner_len
>
size
))
return
;
dump_inline_sid
(
(
const
SID
*
)((
const
char
*
)
sd
+
offset
),
sd
->
owner_len
);
if
(
sd
->
owner_len
)
dump_inline_sid
(
(
const
SID
*
)((
const
char
*
)
sd
+
offset
),
sd
->
owner_len
);
else
fprintf
(
stderr
,
"<not present>"
);
offset
+=
sd
->
owner_len
;
fprintf
(
stderr
,
",group="
);
if
((
sd
->
group_len
>
FIELD_OFFSET
(
SID
,
SubAuthority
[
255
]))
||
(
offset
+
sd
->
group_len
>
size
))
return
;
dump_inline_sid
(
(
const
SID
*
)((
const
char
*
)
sd
+
offset
),
sd
->
group_len
);
if
(
sd
->
group_len
)
dump_inline_sid
(
(
const
SID
*
)((
const
char
*
)
sd
+
offset
),
sd
->
group_len
);
else
fprintf
(
stderr
,
"<not present>"
);
offset
+=
sd
->
group_len
;
fprintf
(
stderr
,
",sacl="
);
if
((
sd
->
sacl_len
>=
MAX_ACL_LEN
)
||
(
offset
+
sd
->
sacl_len
>
size
))
...
...
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