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/03/21 07:10:35 UTC

svn commit: r387435 - /webservices/axis2/trunk/c/modules/core/transport/http/http_transport_utils.c

Author: samisa
Date: Mon Mar 20 22:10:33 2006
New Revision: 387435

URL: http://svn.apache.org/viewcvs?rev=387435&view=rev
Log:
Fixed the invalid read problem

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=387435&r1=387434&r2=387435&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 Mon Mar 20 22:10:33 2006
@@ -135,7 +135,7 @@
 	callback_ctx.unread_len = content_length;
 	callback_ctx.chunked_stream = NULL;
 	
-	if(NULL != soap_action_header)	
+	if(NULL != soap_action_header && (strlen(soap_action_header) > 0) )	
 	{
 		/* remove leading and trailing " s */
 		if('"' == soap_action_header[0])