https://bugs.winehq.org/show_bug.cgi?id=51683
Bug ID: 51683 Summary: RtlCreateTimer crash Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: deltaconnected@gmail.com Distribution: ---
dlls/ntdll/threadpool.c
In RtlCreateTimer, NewTimer is being set after RtlLeaveCriticalSection, which seems to allow callbacks created with DueTime == 0 to execute and finish and delete an invalid timer before the scheduling thread is switched back.