[ http://issues.apache.org/jira/browse/AXIS2C-311?page=all ]
Samisa Abeysinghe updated AXIS2C-311:
-------------------------------------
Component/s: core/engine
Fix Version/s: 0.96
Affects Version/s: Current (Nightly)
Assignee: Samisa Abeysinghe
> 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
> Components: core/engine
> Affects Versions: Current (Nightly)
> Reporter: Manjula Peiris
> Assigned To: Samisa Abeysinghe
> Fix For: 0.96
>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]