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:
David Major 2015-03-03 18:02:17 +13:00
parent 237067b8b5
commit a8ea0bbfe8

View File

@ -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),