commit | 3f7c3ff76e17a60ebddc84333f331bf48fe00d4a | [log] [tgz] |
---|---|---|
author | Bill Medland <billmedland@mercuryspeed.com> | Thu Apr 17 02:14:04 2003 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Apr 17 02:14:04 2003 +0000 |
tree | 53ae764639cb053bc6c43ebde7e9815c3e145e9d | |
parent | ac1d1056d43dfa10e0280efa9bb13383b7bb6f8d [diff] [blame] |
Fix for client accessing a named pipe after the server closes it.
diff --git a/server/fd.c b/server/fd.c index 7417dee..191d126 100644 --- a/server/fd.c +++ b/server/fd.c
@@ -987,7 +987,7 @@ 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;