[PATCH] ntdll: Fix race condition with fd_cache when duplicating handle.

Alexandre Julliard julliard at winehq.org
Tue Feb 9 10:59:30 CST 2021


Daniel Lehman <dlehman25 at gmail.com> writes:

>> I'm afraid it's not that simple, there's no guarantee that the source
>> handle is for the current process.
>
> do you mean if the current process received a file handle from another
> process and wanted to close the handle on the remote end?

Yes, that's why there's a source process parameter.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list