From 20e533f6b5595182f69560f50122a0873daaaafb Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 19 Feb 2018 20:54:12 +0100 Subject: Remove DLL blocklist checks for Windows XP. --- mozglue/build/WindowsDllBlocklist.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'mozglue/build') diff --git a/mozglue/build/WindowsDllBlocklist.cpp b/mozglue/build/WindowsDllBlocklist.cpp index a3c662723..9b63d6673 100644 --- a/mozglue/build/WindowsDllBlocklist.cpp +++ b/mozglue/build/WindowsDllBlocklist.cpp @@ -67,7 +67,6 @@ struct DllBlockInfo { enum { FLAGS_DEFAULT = 0, BLOCK_WIN8PLUS_ONLY = 1, - BLOCK_XP_ONLY = 2, USE_TIMESTAMP = 4, } flags; }; @@ -156,9 +155,6 @@ static DllBlockInfo sWindowsDllBlocklist[] = { // Topcrash with Conduit SearchProtect, bug 944542 { "spvc32.dll", ALL_VERSIONS }, - // XP topcrash with F-Secure, bug 970362 - { "fs_ccf_ni_umh32.dll", MAKE_VERSION(1, 42, 101, 0), DllBlockInfo::BLOCK_XP_ONLY }, - // Topcrash with V-bates, bug 1002748 and bug 1023239 { "libinject.dll", UNVERSIONED }, { "libinject2.dll", 0x537DDC93, DllBlockInfo::USE_TIMESTAMP }, @@ -676,11 +672,6 @@ patched_LdrLoadDll (PWCHAR filePath, PULONG flags, PUNICODE_STRING moduleFileNam goto continue_loading; } - if ((info->flags == DllBlockInfo::BLOCK_XP_ONLY) && - IsWin2003OrLater()) { - goto continue_loading; - } - unsigned long long fVersion = ALL_VERSIONS; if (info->maxVersion != ALL_VERSIONS) { @@ -749,7 +740,7 @@ continue_loading: return STATUS_DLL_NOT_FOUND; } - if (IsVistaOrLater() && !CheckASLR(full_fname.get())) { + if (!CheckASLR(full_fname.get())) { printf_stderr("LdrLoadDll: Blocking load of '%s'. XPCOM components must support ASLR.\n", dllName); return STATUS_DLL_NOT_FOUND; } -- cgit v1.2.3