ntdll: Hold fd_cache_section while removing and closing handles.
commitd144890c88c69c937b5e3ffa9b85d0d9d475c44d
authorZebediah Figura <z.figura12@gmail.com>
Tue, 23 Mar 2021 04:04:29 +0000 (22 23:04 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 23 Mar 2021 11:29:10 +0000 (23 12:29 +0100)
tree0ba264bcdbbc39a44f8198a776355c9c55b586ec
parent64cfcc1c62c2e1ca25ade05973675c64bbc3356e
ntdll: Hold fd_cache_section while removing and closing handles.

Otherwise, it's possible for the old handle to be re-added to the cache between
removing and closing it.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/unix/server.c