Sweden-Number/dlls/ntdll
Rémi Bernon b922b5aeef kernel32: Write the wait handle before executing the callback.
Otherwise we may execute the callback before the value is actually
returned from RegisterWaitForSingleObject.

Gears Tactics shares a pointer to the returned handle with its callbacks
and calls UnregisterWait from there. This creates a race condition that
sometimes causes a double free.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47843
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-11 22:26:36 +01:00
..
tests ntdll: Re-implement RtlRegisterWait using TpSetWait. 2021-02-11 22:26:36 +01:00
unix server: Implement NtQueryVirtualMemory(MemorySectionName). 2021-02-10 16:30:18 +01:00
Makefile.in include: Use proper dllimports for kernel32 functions. 2020-11-24 18:41:13 +01:00
actctx.c ntdll: Use wide-char string literals in actctx.c. 2020-12-04 09:37:00 +01:00
atom.c ntdll: Use wide-char string literals. 2020-12-04 09:37:42 +01:00
critsection.c
crypt.c
debugbuffer.c ntdll: Return failure from RtlQueryProcessDebugInformation. 2020-11-26 21:31:53 +01:00
directory.c ntdll: Use wide-char string literals. 2020-12-04 09:37:42 +01:00
env.c ntdll: Set the environment size in the process parameters. 2021-01-26 16:38:52 +01:00
error.c
exception.c ntdll: Print a warning or an error for other exceptions. 2021-02-08 11:04:17 +01:00
handletable.c
heap.c ntdll: Raise debug exceptions when invalid heap is destroyed. 2020-11-20 19:01:04 +01:00
large_int.c configure: Require 64-bit compare-and-swap support from gcc. 2020-09-28 17:03:57 +02:00
loader.c server: Remove the load/unload_dll requests and the dll list. 2021-02-11 16:31:30 +01:00
loadorder.c ntdll: Use wide-char string literals. 2020-12-04 09:37:42 +01:00
locale.c ntdll: Map LANG_SERBIAN_NEUTRAL in RtlLocaleNameToLcid(). 2021-02-04 15:41:02 +01:00
make_errors
misc.c
nt.c
ntdll.spec ntdll: Exclude large integer APIs from relay tracing. 2021-02-03 20:57:58 +01:00
ntdll_misc.h ntdll: Print a warning or an error for other exceptions. 2021-02-08 11:04:17 +01:00
path.c ntdll: Use wide-char string literals. 2020-12-04 09:37:42 +01:00
printf.c
printf.h
process.c ntdll: Implement NtWaitForDebugEvent(). 2021-02-01 16:48:09 +01:00
reg.c ntdll: Use wide-char string literals. 2020-12-04 09:37:42 +01:00
relay.c ntdll: Make inline asm compatible with Thumb-2. 2021-01-19 13:24:14 +01:00
resource.c
rtl.c ntdll: Use wide-char string literals. 2020-12-04 09:37:42 +01:00
rtlbitmap.c
rtlstr.c ntdll: Use wide-char string literals. 2020-12-04 09:37:42 +01:00
sec.c ntdll: Add RtlDefaultNpAcl stub. 2020-12-08 22:25:59 +01:00
signal_arm.c ntdll: Print a warning or an error for other exceptions. 2021-02-08 11:04:17 +01:00
signal_arm64.c ntdll: Print a warning or an error for other exceptions. 2021-02-08 11:04:17 +01:00
signal_i386.c ntdll: Print a warning or an error for other exceptions. 2021-02-08 11:04:17 +01:00
signal_x86_64.c ntdll: Print a warning or an error for other exceptions. 2021-02-08 11:04:17 +01:00
string.c ntdll: Fix memchr implementation. 2020-12-04 17:51:07 +01:00
sync.c
thread.c ntdll: Close the debug port on thread exit. 2021-02-11 16:31:30 +01:00
threadpool.c kernel32: Write the wait handle before executing the callback. 2021-02-11 22:26:36 +01:00
time.c
unixlib.h ntdll: Pass the full NT path name to load_builtin_dll(). 2021-02-09 13:23:17 +01:00
version.c ntdll: Use wide-char string literals in version.c. 2020-12-04 09:37:12 +01:00
version.rc
virtual.c
wcstring.c