Bug 1294650 - Block the version of websense crashing 48 & 49. Followup, we already had this dll r?bsmedberg draft
authorSylvestre Ledru <sledru@mozilla.com>
Fri, 12 Aug 2016 10:45:37 +0200
changeset 399879 b8f2c13f3b125f02663b38b841a9d0b90f3b73fa
parent 399878 31f195c1bca6300f19bcb2ea1fd81b0deeb75564
child 402481 69578c26786fc6d495824f5dcca368a115acce52
push id26021
push userbmo:sledru@mozilla.com
push dateFri, 12 Aug 2016 08:46:11 +0000
reviewersbsmedberg
bugs1294650
milestone51.0a1
Bug 1294650 - Block the version of websense crashing 48 & 49. Followup, we already had this dll r?bsmedberg MozReview-Commit-ID: re4nqi94vk
mozglue/build/WindowsDllBlocklist.cpp
--- a/mozglue/build/WindowsDllBlocklist.cpp
+++ b/mozglue/build/WindowsDllBlocklist.cpp
@@ -72,16 +72,18 @@ struct DllBlockInfo {
   } flags;
 };
 
 static DllBlockInfo sWindowsDllBlocklist[] = {
   // EXAMPLE:
   // { "uxtheme.dll", ALL_VERSIONS },
   // { "uxtheme.dll", 0x0000123400000000ULL },
   // The DLL name must be in lowercase!
+  // The version field is a maximum, that is, we block anything that is
+  // less-than or equal to that version.
   
   // NPFFAddon - Known malware
   { "npffaddon.dll", ALL_VERSIONS},
 
   // AVG 8 - Antivirus vendor AVG, old version, plugin already blocklisted
   {"avgrsstx.dll", MAKE_VERSION(8,5,0,401)},
   
   // calc.dll - Suspected malware
@@ -122,19 +124,16 @@ static DllBlockInfo sWindowsDllBlocklist
   {"roboform.dll", MAKE_VERSION(7,6,1,0)},
 
   // Topcrash with Babylon Toolbar on FF16+ (bug 721264)
   {"babyfox.dll", ALL_VERSIONS},
 
   // sprotector.dll crashes, bug 957258
   {"sprotector.dll", ALL_VERSIONS},
 
-  // Topcrash with Websense Endpoint, bug 828184
-  {"qipcap.dll", MAKE_VERSION(7, 6, 815, 1)},
-
   // leave these two in always for tests
   { "mozdllblockingtest.dll", ALL_VERSIONS },
   { "mozdllblockingtest_versioned.dll", 0x0000000400000000ULL },
 
   // Windows Media Foundation FLAC decoder and type sniffer (bug 839031).
   { "mfflac.dll", ALL_VERSIONS },
 
   // Older Relevant Knowledge DLLs cause us to crash (bug 904001).
@@ -215,17 +214,17 @@ static DllBlockInfo sWindowsDllBlocklist
   { "opls64.dll", ALL_VERSIONS },
   { "pmls.dll", ALL_VERSIONS },
   { "pmls64.dll", ALL_VERSIONS },
   { "prls.dll", ALL_VERSIONS },
   { "prls64.dll", ALL_VERSIONS },
   { "rlls.dll", ALL_VERSIONS },
   { "rlls64.dll", ALL_VERSIONS },
 
-  // Websense is crashing us on 48 & 49, bug 1291738
+  // Websense is crashing us for bunch of releases, bug 1291738 & bug 828184
   { "qipcap.dll", MAKE_VERSION(7, 6, 818, 1) },
 
   { nullptr, 0 }
 };
 
 #ifndef STATUS_DLL_NOT_FOUND
 #define STATUS_DLL_NOT_FOUND ((DWORD)0xC0000135L)
 #endif