Bug 1291738 - Block the version of websense crashing 48 & 49. Followup, we already had this dll r?bsmedberg draft
authorSylvestre Ledru <sledru@mozilla.com>
Thu, 11 Aug 2016 18:42:37 +0200
changeset 399622 7f02a8638138b88786ea38ee329286916536744f
parent 399620 03acce461254afbd7f9c7135a2608ac350d43bda
child 417569 d4c02be10b4e4c5394dc5087a066842190b2e8f5
child 417772 86daa417022e96da7637d1bbeb82190220dc8c1a
push id25899
push usersledru@mozilla.com
push dateThu, 11 Aug 2016 17:02:08 +0000
reviewersbsmedberg
bugs1291738
milestone51.0a1
Bug 1291738 - Block the version of websense crashing 48 & 49. Followup, we already had this dll r?bsmedberg MozReview-Commit-ID: EWvMMDTbR4K
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