Commit baa8bf3c authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed a bug where we could set the wrong handle in the fd cache when

encountering the race condition in wine_server_handle_to_fd.
parent 059a8c15
......@@ -512,7 +512,7 @@ int wine_server_handle_to_fd( obj_handle_t handle, unsigned int access, int *uni
/* and store it back into the cache */
SERVER_START_REQ( set_handle_fd )
{
req->handle = handle;
req->handle = fd_handle;
req->fd = fd;
req->removable = removable;
if (!(ret = wine_server_call( req )))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment