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/12/06 15:47:42 UTC

svn commit: r483097 - /webservices/axis2/trunk/c/modules/core/engine/engine.c

Author: samisa
Date: Wed Dec  6 06:47:40 2006
New Revision: 483097

URL: http://svn.apache.org/viewvc?view=rev&rev=483097
Log:
Fixed the non-checking of pointer value. AXIS2C-311

Modified:
    webservices/axis2/trunk/c/modules/core/engine/engine.c

Modified: webservices/axis2/trunk/c/modules/core/engine/engine.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/engine/engine.c?view=diff&rev=483097&r1=483096&r2=483097
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/engine.c Wed Dec  6 06:47:40 2006
@@ -286,7 +286,10 @@
             if (conf)
             {
                 axis2_array_list_t *global_out_phase = AXIS2_CONF_GET_OUT_PHASES(conf, env);
-                axis2_engine_invoke_phases(engine, env, global_out_phase, msg_ctx);
+                if (global_out_phase)
+                {
+                    axis2_engine_invoke_phases(engine, env, global_out_phase, msg_ctx);
+                }
             }
         }
     }
@@ -306,7 +309,10 @@
             if (conf)
             {
                 axis2_array_list_t *global_out_phase = AXIS2_CONF_GET_OUT_PHASES(conf, env);
-                axis2_engine_invoke_phases(engine, env, global_out_phase, msg_ctx);
+                if (global_out_phase)
+                {
+                    axis2_engine_invoke_phases(engine, env, global_out_phase, msg_ctx);
+                }
             }
         }
     }



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