ntdll: Initialize Reserved_0 bit in NtQueryInformationThread.

Sebastian Lackner sebastian at fds-team.de
Fri Apr 29 10:18:43 CDT 2016


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
 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))
                     {
-- 
2.8.0



More information about the wine-patches mailing list