Bug 1065130 - nsFtpState::mDoomCache is used uninitialised r=jduell
authorJulian Seward <jseward@acm.org>
Fri, 19 Sep 2014 13:12:10 -0700
changeset 206284 f23be5f26fbba70fd254c62fb37880575b562dbb
parent 206283 45cac79834c7f0abc4ee9da24cf2226898e2e2b0
child 206285 27253887d2ccaaf1e00b49033a0d8b0efe3b27b6
child 206314 f592aa32b970167732254a0ecaf98228fad984a9
push id27520
push userkwierso@gmail.com
push dateSat, 20 Sep 2014 00:25:19 +0000
treeherdermozilla-central@27253887d2cc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjduell
bugs1065130
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1065130 - nsFtpState::mDoomCache is used uninitialised r=jduell
netwerk/protocol/ftp/nsFtpConnectionThread.cpp
--- a/netwerk/protocol/ftp/nsFtpConnectionThread.cpp
+++ b/netwerk/protocol/ftp/nsFtpConnectionThread.cpp
@@ -89,16 +89,17 @@ nsFtpState::nsFtpState()
     , mInternalError(NS_OK)
     , mReconnectAndLoginAgain(false)
     , mCacheConnection(true)
     , mPort(21)
     , mAddressChecked(false)
     , mServerIsIPv6(false)
     , mUseUTF8(false)
     , mControlStatus(NS_OK)
+    , mDoomCache(false)
     , mDeferredCallbackPending(false)
 {
     LOG_ALWAYS(("FTP:(%x) nsFtpState created", this));
 
     // make sure handler stays around
     NS_ADDREF(gFtpHandler);
 }