You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/02/01 05:25:11 UTC
svn commit: r373985 -
/webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
Author: sahan
Date: Tue Jan 31 20:25:05 2006
New Revision: 373985
URL: http://svn.apache.org/viewcvs?rev=373985&view=rev
Log:
Fixed a crash due to null pointer
Modified:
webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c?rev=373985&r1=373984&r2=373985&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c Tue Jan 31 20:25:05 2006
@@ -820,6 +820,13 @@
xml_reader = NULL;
return NULL;
}
+ if(NULL == soap_builder)
+ {
+ AXIS2_OM_STAX_BUILDER_FREE(om_builder, env);
+ om_builder = NULL;
+ xml_reader = NULL;
+ return NULL;
+ }
soap_builder = axis2_soap_builder_create(env, om_builder,
soap_ns_uri);
soap_envelope = AXIS2_SOAP_BUILDER_GET_SOAP_ENVELOPE(soap_builder, env);