commit | bc426ab059d9cf279755f113fda2780e860b7b7c | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Tue Apr 10 21:30:37 2007 +0200 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Apr 10 21:30:37 2007 +0200 |
tree | 44aa6a2f0889f93e29f2d6a60a7f4c2391410a18 | |
parent | 64ba011dba87ebbda3503935f1620cd7d89f7308 [diff] [blame] |
server: Explicitly shutdown closed pipes to prevent access from file descriptors cached in the client.
diff --git a/server/named_pipe.c b/server/named_pipe.c index 4b23816..527e4c8 100644 --- a/server/named_pipe.c +++ b/server/named_pipe.c
@@ -338,6 +338,7 @@ server->client->fd = NULL; } assert( server->fd ); + shutdown( get_unix_fd( server->fd ), SHUT_RDWR ); release_object( server->fd ); server->fd = NULL; }