Author: damitha
Date: Wed Sep 3 23:29:56 2008
New Revision: 691882
URL: http://svn.apache.org/viewvc?rev=691882&view=rev
Log:
Handling possible seg fault caused by not successfull creating create sequence
message part
Modified:
webservices/sandesha/trunk/c/src/util/msg_creator.c
Modified: webservices/sandesha/trunk/c/src/util/msg_creator.c
URL:
http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/util/msg_creator.c?rev=691882&r1=691881&r2=691882&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/util/msg_creator.c (original)
+++ webservices/sandesha/trunk/c/src/util/msg_creator.c Wed Sep 3 23:29:56 2008
@@ -187,6 +187,11 @@
SANDESHA2_SEQ_PROP_ADDRESSING_NAMESPACE_VALUE, seq_prop_mgr);
create_seq_part = sandesha2_create_seq_create(env, addressing_ns_value,
rm_ns_value);
+ if(!create_seq_part)
+ {
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "[sandesha2] creating create
sequence message failed");
+ return NULL;
+ }
/* Adding sequence offer if present */
op_ctx = axis2_msg_ctx_get_op_ctx(application_msg_ctx, env);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]