axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r723599 - /webservices/axis/trunk/c/src/common/AxisUserAPI.cpp
Date Fri, 05 Dec 2008 05:50:38 GMT
Author: nadiramra
Date: Thu Dec  4 21:50:38 2008
New Revision: 723599

URL: http://svn.apache.org/viewvc?rev=723599&view=rev
Log:
Ensure array pointer is set...

Modified:
    webservices/axis/trunk/c/src/common/AxisUserAPI.cpp

Modified: webservices/axis/trunk/c/src/common/AxisUserAPI.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/common/AxisUserAPI.cpp?rev=723599&r1=723598&r2=723599&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/common/AxisUserAPI.cpp (original)
+++ webservices/axis/trunk/c/src/common/AxisUserAPI.cpp Thu Dec  4 21:50:38 2008
@@ -195,6 +195,10 @@
 void Axis_Array::set(void** array, int size, XSDTYPE type)
 {
     clear();
+    
+    if (array == NULL)
+    	size = 0;
+    
     m_Size = size;
     m_Array = NULL;
     m_Type = type;



Mime
View raw message