Sebastian Lackner : ntdll: Initialize Reserved_0 bit in NtQueryInformationThread.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon May 2 09:52:30 CDT 2016
Module: wine
Branch: master
Commit: 12a00ea3494649e440f60e02e6f2403abafcdb9f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=12a00ea3494649e440f60e02e6f2403abafcdb9f
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Fri Apr 29 17:18:43 2016 +0200
ntdll: Initialize Reserved_0 bit in NtQueryInformationThread.
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/thread.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index 40747d7..f6a5fbe 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -1045,6 +1045,7 @@ NTSTATUS WINAPI NtQueryInformationThread( HANDLE handle, THREADINFOCLASS class,
tdi->Entry.HighWord.Bits.Granularity = 1;
tdi->Entry.HighWord.Bits.Default_Big = 1;
tdi->Entry.HighWord.Bits.Type = 0x12;
+ tdi->Entry.HighWord.Bits.Reserved_0 = 0;
/* it has to be one of the system GDT selectors */
if (sel != (wine_get_ds() & ~3) && sel != (wine_get_ss() & ~3))
{
More information about the wine-cvs
mailing list