Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 97290 invoked from network); 29 Sep 2006 12:34:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Sep 2006 12:34:43 -0000 Received: (qmail 28586 invoked by uid 500); 29 Sep 2006 12:34:43 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 28572 invoked by uid 500); 29 Sep 2006 12:34:43 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 28561 invoked by uid 99); 29 Sep 2006 12:34:43 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Sep 2006 05:34:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:55254] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id CE/71-13110-2E21D154 for ; Fri, 29 Sep 2006 05:34:42 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0BEA97141D1 for ; Fri, 29 Sep 2006 12:30:50 +0000 (GMT) Message-ID: <13294999.1159533050030.JavaMail.jira@brutus> Date: Fri, 29 Sep 2006 05:30:50 -0700 (PDT) From: "manjula peiris (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXIS2C-311) axis2_engine_invoke_phases(engine, env, global_out_phase, msg_ctx) method executes without checking whether global_out_phase is null. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N axis2_engine_invoke_phases(engine, env, global_out_phase, msg_ctx) method executes without checking whether global_out_phase is null. ------------------------------------------------------------------------------------------------------------------------------------- Key: AXIS2C-311 URL: http://issues.apache.org/jira/browse/AXIS2C-311 Project: Axis2-C Issue Type: Bug Reporter: manjula peiris axis2_engine_invoke_phases(engine, env, global_out_phase, msg_ctx) method executes without checking whether global_out_phase is null.The patch below will fix this problem. --- /home/manjula/axis2/c/modules/core/engine/engine.c (revision 450856) +++ /home/manjula/axis2/c/modules/core/engine/engine.c (working copy) @@ -285,7 +285,8 @@ 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); } } } @@ -305,7 +306,9 @@ 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); + } } } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org