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
20651c7d
Commit
20651c7d
authored
Apr 26, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Apr 26, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Fix possible leak of root object in create_named_pipe handler.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
240d8ed7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
named_pipe.c
server/named_pipe.c
+1
-0
No files found.
server/named_pipe.c
View file @
20651c7d
...
...
@@ -901,6 +901,7 @@ DECL_HANDLER(create_named_pipe)
if
(
!
req
->
sharing
||
(
req
->
sharing
&
~
(
FILE_SHARE_READ
|
FILE_SHARE_WRITE
))
||
(
!
(
req
->
flags
&
NAMED_PIPE_MESSAGE_STREAM_WRITE
)
&&
(
req
->
flags
&
NAMED_PIPE_MESSAGE_STREAM_READ
)))
{
if
(
root
)
release_object
(
root
);
set_error
(
STATUS_INVALID_PARAMETER
);
return
;
}
...
...
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