Bug 1213400 - Fix crash in broken Safe Browsing list updates. r=gcp, a=ritu
authorFrancois Marier <francois@mozilla.com>
Mon, 30 Nov 2015 12:44:28 -0800
changeset 305767 3c145973b6cb3234e0f786557918bb7fabc7eeb9
parent 305766 04630b5647aacbcdd8c1757981ad28a4ac7d5590
child 305768 3664dcef3c8b63fdd54c406500a90707ec30326f
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgcp, ritu
bugs1213400
milestone44.0a2
Bug 1213400 - Fix crash in broken Safe Browsing list updates. r=gcp, a=ritu
toolkit/components/url-classifier/ProtocolParser.cpp
--- a/toolkit/components/url-classifier/ProtocolParser.cpp
+++ b/toolkit/components/url-classifier/ProtocolParser.cpp
@@ -60,16 +60,17 @@ ParseChunkRange(nsACString::const_iterat
   return false;
 }
 
 ProtocolParser::ProtocolParser()
     : mState(PROTOCOL_STATE_CONTROL)
   , mUpdateStatus(NS_OK)
   , mUpdateWait(0)
   , mResetRequested(false)
+  , mTableUpdate(nullptr)
 {
 }
 
 ProtocolParser::~ProtocolParser()
 {
   CleanupUpdates();
 }