The supplied async handle passed to set_async_direct_result() cannot be NULL.
Fixes: 6b16ead607e (ntdll: The async handle passed to set_async_direct_result() cannot be NULL., 2022-09-16)
-- v2: ntdll: Remove stale comment from set_async_direct_result() documentation.
From: Jinoh Kang jinoh.kang.kr@gmail.com
The supplied async handle passed to set_async_direct_result() cannot be NULL.
Fixes: 6b16ead607ed9426ec38d3db123bc732c309b90e --- dlls/ntdll/unix/sync.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/dlls/ntdll/unix/sync.c b/dlls/ntdll/unix/sync.c index bfbcaf4a851..7e2927390d3 100644 --- a/dlls/ntdll/unix/sync.c +++ b/dlls/ntdll/unix/sync.c @@ -2620,7 +2620,6 @@ NTSTATUS WINAPI NtWaitForAlertByThreadId( const void *address, const LARGE_INTEG #endif
/* Notify direct completion of async and close the wait handle if it is no longer needed. - * This function is a no-op (returns status as-is) if the supplied handle is NULL. */ void set_async_direct_result( HANDLE *async_handle, NTSTATUS status, ULONG_PTR information, BOOL mark_pending ) {
On Fri Feb 9 19:38:09 2024 +0000, Zebediah Figura wrote:
Fixes: dca8626be5cafe77a55b9bdff19bfb0f42b31e2c
That's not a Wine revision.
Good catch. Sorry about that.
This merge request was approved by Zebediah Figura.