You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by na...@apache.org on 2007/03/09 05:56:07 UTC

svn commit: r516300 - /webservices/axis/trunk/c/src/common/ArrayBean.cpp

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