mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 1137609: Apply the XPSP2 patch on all XP because we can't trust the version. r=glandium
--HG-- extra : rebase_source : 1e85fcabdeff69f9a9647598353df50436127124
This commit is contained in:
parent
237067b8b5
commit
a8ea0bbfe8
@ -128,7 +128,8 @@ Init()
|
||||
MOZ_ASSERT(!GetModuleHandleA("msvcr120d.dll"));
|
||||
|
||||
#if defined(_M_IX86) && defined(_MSC_VER)
|
||||
if (!mozilla::IsXPSP3OrLater()) {
|
||||
// Add the hook on all XP because we can't trust the SP version (bug 1137609)
|
||||
if (!mozilla::IsWin2003OrLater()) {
|
||||
NtdllIntercept.Init("ntdll.dll");
|
||||
NtdllIntercept.AddHook("RtlImageNtHeader",
|
||||
reinterpret_cast<intptr_t>(patched_RtlImageNtHeader),
|
||||
|
Loading…
Reference in New Issue
Block a user