axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r350231 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/MinOccursIsZeroClient.cpp
Date Thu, 01 Dec 2005 11:57:06 GMT
Author: dicka
Date: Thu Dec  1 03:57:00 2005
New Revision: 350231

URL: http://svn.apache.org/viewcvs?rev=350231&view=rev
Log:
Incorrect size initialization of input string.

Modified:
    webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/MinOccursIsZeroClient.cpp

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/MinOccursIsZeroClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/MinOccursIsZeroClient.cpp?rev=350231&r1=350230&r2=350231&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/MinOccursIsZeroClient.cpp
(original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/MinOccursIsZeroClient.cpp
Thu Dec  1 03:57:00 2005
@@ -62,7 +62,7 @@
 				xsd__integer * integerElement2 = new xsd__integer(234);
 				complexType->setintegerElement(integerElement2);
 				BasicComplexType * basicComplexType = new BasicComplexType();
-				xsd__string stringElement3 = new char[8];
+				xsd__string stringElement3 = new char[9];
 				strcpy(stringElement3, "Welcome!");
 				basicComplexType->setstringElement(stringElement3);
 				xsd__integer * integerElement3 = new xsd__integer(345);



Mime
View raw message