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
3f7c3ff7
Commit
3f7c3ff7
authored
Apr 17, 2003
by
Bill Medland
Committed by
Alexandre Julliard
Apr 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for client accessing a named pipe after the server closes it.
parent
ac1d1056
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
fd.c
server/fd.c
+1
-1
named_pipe.c
server/named_pipe.c
+3
-1
No files found.
server/fd.c
View file @
3f7c3ff7
...
...
@@ -987,7 +987,7 @@ static struct fd *get_handle_fd_obj( struct process *process, obj_handle_t handl
if
((
obj
=
get_handle_obj
(
process
,
handle
,
access
,
NULL
)))
{
if
(
!
(
fd
=
get_obj_fd
(
obj
)))
set_error
(
STATUS_OBJECT_TYPE_MISMATCH
);
fd
=
get_obj_fd
(
obj
);
release_object
(
obj
);
}
return
fd
;
...
...
server/named_pipe.c
View file @
3f7c3ff7
...
...
@@ -163,7 +163,9 @@ static void notify_waiter( struct pipe_user *user, unsigned int status)
static
struct
fd
*
pipe_user_get_fd
(
struct
object
*
obj
)
{
struct
pipe_user
*
user
=
(
struct
pipe_user
*
)
obj
;
return
(
struct
fd
*
)
grab_object
(
user
->
fd
);
if
(
user
->
fd
)
return
(
struct
fd
*
)
grab_object
(
user
->
fd
);
set_error
(
STATUS_PIPE_DISCONNECTED
);
return
NULL
;
}
static
void
pipe_user_destroy
(
struct
object
*
obj
)
...
...
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