[Wine-patches] [eterhack] [eter-1.0.12] ntoskrnl.exe: Improve the hack for Katran key (eterbug #7059).

Alexander Morozov amorozov на etersoft.ru
Ср Мар 30 18:58:29 MSD 2011


----------- следующая часть -----------
From 9d14df502e4606b32ce1d965fbd3ca902251f593 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 30 Mar 2011 18:45:07 +0400
Subject: [PATCH] ntoskrnl.exe: Improve the hack for Katran key (eterbug #7059).

---
 dlls/ntoskrnl.exe/ntoskrnl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index f859995..03247cd 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -146,7 +146,7 @@ struct HandleInstance
 #define IOCTL_WINE_DRIVER_WRITE CTL_CODE(FILE_DEVICE_UNKNOWN, 0x101, \
         METHOD_BUFFERED, FILE_ANY_ACCESS)
 
-#define UPKEY_NKEY_DATA_SIZE 8192
+#define UPKEY_NKEY_DATA_SIZE 65535
 
 #ifdef __i386__
 #define DEFINE_FASTCALL1_ENTRYPOINT( name ) \
@@ -540,7 +540,7 @@ static NTSTATUS process_ioctl( DEVICE_OBJECT *device, ULONG code, void *in_buff,
              0x222080 == code || 0x2220c0 == code || 0x222100 == code ||
              0x222104 == code || 0x222108 == code || 0x222110 == code ||
              0x222118 == code || 0x222120 == code ||
-             0x44c == code || 0x456 == code)
+             0x3e8 == code || 0x3e9 == code || 0x44c == code || 0x456 == code)
         offset = 8;
     else if (0x2220d8 == code)
     {
-- 
1.7.4.2



Подробная информация о списке рассылки Wine-patches