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
0ef0f7bb
Commit
0ef0f7bb
authored
Nov 23, 2013
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netapi32: Added missing breaks (Coverity).
parent
68b60c0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
netapi32.c
dlls/netapi32/netapi32.c
+4
-0
No files found.
dlls/netapi32/netapi32.c
View file @
0ef0f7bb
...
...
@@ -541,6 +541,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst )
dst
->
access_mask
=
access_mask_to_samba
(
ace
->
Mask
);
memset
(
&
dst
->
object
,
0
,
sizeof
(
dst
->
object
)
);
sid_to_samba
(
(
const
SID
*
)
&
ace
->
SidStart
,
&
dst
->
trustee
);
break
;
}
case
ACCESS_DENIED_ACE_TYPE
:
{
...
...
@@ -548,6 +549,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst )
dst
->
access_mask
=
access_mask_to_samba
(
ace
->
Mask
);
memset
(
&
dst
->
object
,
0
,
sizeof
(
dst
->
object
)
);
sid_to_samba
(
(
const
SID
*
)
&
ace
->
SidStart
,
&
dst
->
trustee
);
break
;
}
case
SYSTEM_AUDIT_ACE_TYPE
:
{
...
...
@@ -555,6 +557,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst )
dst
->
access_mask
=
access_mask_to_samba
(
ace
->
Mask
);
memset
(
&
dst
->
object
,
0
,
sizeof
(
dst
->
object
)
);
sid_to_samba
(
(
const
SID
*
)
&
ace
->
SidStart
,
&
dst
->
trustee
);
break
;
}
case
SYSTEM_ALARM_ACE_TYPE
:
{
...
...
@@ -562,6 +565,7 @@ static NET_API_STATUS ace_to_samba( const ACE_HEADER *src, struct ace *dst )
dst
->
access_mask
=
access_mask_to_samba
(
ace
->
Mask
);
memset
(
&
dst
->
object
,
0
,
sizeof
(
dst
->
object
)
);
sid_to_samba
(
(
const
SID
*
)
&
ace
->
SidStart
,
&
dst
->
trustee
);
break
;
}
default:
ERR
(
"unhandled type %u
\n
"
,
src
->
AceType
);
...
...
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