mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-28 01:10:55 +01:00
Removed erroneous VirtualProtect
This commit is contained in:
parent
a5faef1d1d
commit
312fa7f7fc
@ -7968,7 +7968,7 @@ void InjectShellExperienceHost()
|
||||
if (section->SizeOfRawData && !bTwice)
|
||||
{
|
||||
DWORD dwOldProtect;
|
||||
VirtualProtect(hQA + section->VirtualAddress, section->SizeOfRawData, PAGE_EXECUTE_READWRITE, &dwOldProtect);
|
||||
//VirtualProtect(hQA + section->VirtualAddress, section->SizeOfRawData, PAGE_EXECUTE_READWRITE, &dwOldProtect);
|
||||
char* pCandidate = NULL;
|
||||
while (TRUE)
|
||||
{
|
||||
@ -7999,7 +7999,7 @@ void InjectShellExperienceHost()
|
||||
}
|
||||
pCandidate += sizeof(seh_pattern1);
|
||||
}
|
||||
VirtualProtect(hQA + section->VirtualAddress, section->SizeOfRawData, dwOldProtect, &dwOldProtect);
|
||||
//VirtualProtect(hQA + section->VirtualAddress, section->SizeOfRawData, dwOldProtect, &dwOldProtect);
|
||||
}
|
||||
}
|
||||
section++;
|
||||
|
Loading…
Reference in New Issue
Block a user