[Wine-patches] [eterhack] ntoskrnl.exe: Prevent UPKey.sys crash (eterbug #4312).

Alexander Morozov amorozov на etersoft.ru
Вт Сен 22 16:18:45 MSD 2009


----------- следующая часть -----------
From 3a75a8475e3fff3ecb87a8690554266033a1094c Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Tue, 22 Sep 2009 16:13:13 +0400
Subject: [eterhack] ntoskrnl.exe: Prevent UPKey.sys crash (eterbug #4312).

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

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index fdf1c01..5cb07cf 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -536,7 +536,8 @@ static NTSTATUS process_ioctl( DEVICE_OBJECT *device, ULONG code, void *in_buff,
     /* HACK for UPKey.sys and NKey.sys */
     if (0x3fc == code) offset = 2;
     else if (0x222040 == code || 0x222044 == code || 0x222048 == code ||
-             0x22204c == code || 0x222060 == code || 0x222100 == code ||
+             0x22204c == code || 0x222050 == code || 0x222060 == code ||
+             0x222080 == code || 0x2220c0 == code || 0x222100 == code ||
              0x222104 == code || 0x222108 == code || 0x222110 == code ||
              0x222118 == code || 0x222120 == code ||
              0x44c == code || 0x456 == code)
-- 
1.6.4.2



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