From 0ec3d48ce39cad75500b55318052481e7d33c486 Mon Sep 17 00:00:00 2001 From: Eguni Date: Sun, 13 Nov 2016 06:19:20 +0900 Subject: [PATCH] RS1 Issue committed --- vnr/ithsys/ithsys.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/vnr/ithsys/ithsys.cc b/vnr/ithsys/ithsys.cc index 00ec5e3..128f51f 100644 --- a/vnr/ithsys/ithsys.cc +++ b/vnr/ithsys/ithsys.cc @@ -759,14 +759,10 @@ BOOL IthInitSystemService() DWORD base = (DWORD)peb->ReadOnlySharedMemoryBase; DWORD end = base + info.RegionSize - 0x40; - - // 일본어 코드 페이지 C_932 이 SysWow64에 없음 - // 64bit에서 (32bit) 로 실행할 경우 SysWow64로 리다이렉트 되는 것 해제 - + // I_Jemin 13/11/2016 + // Prevent redirecting SYSWOW64 to receive Shift-JIS PVOID OldValue; - Wow64DisableWow64FsRedirection(&OldValue); - static WCHAR system32[] = L"system32"; for (;base < end; base += 2) @@ -777,6 +773,11 @@ BOOL IthInitSystemService() while (*obj != L'\\') obj++; break; } + + // Eguni 13/11/2016 + // Dispose redirection + Wow64EnableWow64FsRedirection(FALSE); + if (base == end) return FALSE; }