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.
This commit is contained in:
parent
059a8c15f2
commit
baa8bf3c74
|
@ -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 )))
|
||||
|
|
Loading…
Reference in New Issue