Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
55fdda4c
Commit
55fdda4c
authored
Jan 24, 2007
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jan 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Prevent a crash on error while creating a token.
parent
c04e7e78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
token.c
server/token.c
+1
-2
No files found.
server/token.c
View file @
55fdda4c
...
...
@@ -424,6 +424,7 @@ static struct token *create_token( unsigned primary, const SID *user,
list_init
(
&
token
->
privileges
);
list_init
(
&
token
->
groups
);
token
->
primary
=
primary
;
token
->
default_dacl
=
NULL
;
/* copy user */
token
->
user
=
memdup
(
user
,
FIELD_OFFSET
(
SID
,
SubAuthority
[
user
->
SubAuthorityCount
])
);
...
...
@@ -477,8 +478,6 @@ static struct token *create_token( unsigned primary, const SID *user,
return
NULL
;
}
}
else
token
->
default_dacl
=
NULL
;
token
->
source
=
source
;
}
...
...
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