activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r753223 - /activemq/activemq-cpp/trunk/src/main/activemq/transport/failover/FailoverTransport.cpp
Date Fri, 13 Mar 2009 12:38:25 GMT
Author: tabish
Date: Fri Mar 13 12:38:24 2009
New Revision: 753223

URL: http://svn.apache.org/viewvc?rev=753223&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-100

Crash could occur due to uninitialized variable.

Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/transport/failover/FailoverTransport.cpp

Modified: activemq/activemq-cpp/trunk/src/main/activemq/transport/failover/FailoverTransport.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/transport/failover/FailoverTransport.cpp?rev=753223&r1=753222&r2=753223&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/transport/failover/FailoverTransport.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/transport/failover/FailoverTransport.cpp
Fri Mar 13 12:38:24 2009
@@ -61,6 +61,7 @@
     this->closed = false;
     this->connected = false;
 
+    this->transportListener = NULL;
     this->stateTracker.setTrackTransactions( true );
     this->myTransportListener.reset( new FailoverTransportListener( this ) );
     this->reconnectTask.reset( new ReconnectTask( this ) );



Mime
View raw message