activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r505405 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.cpp
Date Fri, 09 Feb 2007 18:23:14 GMT
Author: tabish
Date: Fri Feb  9 10:23:14 2007
New Revision: 505405

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

Fix an array index out of bounds exception that could happen in adding a marshaler.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.cpp?view=diff&rev=505405&r1=505404&r2=505405
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/OpenWireFormat.cpp
Fri Feb  9 10:23:14 2007
@@ -57,7 +57,7 @@
     this->properties.copy( &properties );
 
     // Fill in that DataStreamMarshallers collection
-    dataMarshallers.resize( 255 );
+    dataMarshallers.resize( 256 );
     MarshallerFactory().configure( this );
 
     // Generate an ID



Mime
View raw message