axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r516300 - /webservices/axis/trunk/c/src/common/ArrayBean.cpp
Date Fri, 09 Mar 2007 04:56:07 GMT
Author: nadiramra
Date: Thu Mar  8 20:56:06 2007
New Revision: 516300

URL: http://svn.apache.org/viewvc?view=rev&rev=516300
Log:
AXISCPP-1026 - should check to ensure URI is not null before setting it to string variable.

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

Modified: webservices/axis/trunk/c/src/common/ArrayBean.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/common/ArrayBean.cpp?view=diff&rev=516300&r1=516299&r2=516300
==============================================================================
--- webservices/axis/trunk/c/src/common/ArrayBean.cpp (original)
+++ webservices/axis/trunk/c/src/common/ArrayBean.cpp Thu Mar  8 20:56:06 2007
@@ -423,7 +423,8 @@
 
 void ArrayBean::SetUri(const AxisChar* sURI)
 {
-    m_URI = sURI;
+    if (sURI)
+        m_URI = sURI;
 }
 
 /**



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message