diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-19 20:54:12 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-19 20:54:12 +0100 |
commit | 20e533f6b5595182f69560f50122a0873daaaafb (patch) | |
tree | 64d5b8096381d18d81f3f9d554a44571df8e86e5 /mozglue/build/WindowsDllBlocklist.cpp | |
parent | a1bc6f33efae54491df22c333ed65d1aa13cb280 (diff) | |
download | UXP-20e533f6b5595182f69560f50122a0873daaaafb.tar UXP-20e533f6b5595182f69560f50122a0873daaaafb.tar.gz UXP-20e533f6b5595182f69560f50122a0873daaaafb.tar.lz UXP-20e533f6b5595182f69560f50122a0873daaaafb.tar.xz UXP-20e533f6b5595182f69560f50122a0873daaaafb.zip |
Remove DLL blocklist checks for Windows XP.
Diffstat (limited to 'mozglue/build/WindowsDllBlocklist.cpp')
-rw-r--r-- | mozglue/build/WindowsDllBlocklist.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
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; } |