Ah, I did not know that, thanks.
On 4/11/19 8:27 PM, Derek Lesho wrote:
> diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
> index 11dd41f90e..625878d8dd 100644
> --- a/dlls/ntoskrnl.exe/ntoskrnl.c
> +++ b/dlls/ntoskrnl.exe/ntoskrnl.c
> @@ -91,7 +91,7 @@ static const WCHAR servicesW[] = {'\\','R','e','g','i','s','t','r','y',
> #define MAX_SERVICE_NAME 260
>
> /* tid of the thread running client request */
> -static DWORD request_thread;
> +static DWORD request_thread = 0;
There is no need for that, static variables are zeroed anyway.
Jacek