You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Steve Leland <st...@pouchapond.com> on 2011/05/04 03:22:44 UTC
crash when ssl cert's file name wrong
Did a clean build today of an update to revision 1099213, with openssl
0.9.8r. When given a bad cert file name in axis2.xml (no file by that name)
it crashes in axis2_callback_invoke_on_complete().
src\core\clientapi\callback.c line 119
callback->msg_ctx = axis2_async_result_get_result(result, env); //
callee protects itself from a null argument and returns null.
axis2_msg_ctx_increment_ref(callback->msg_ctx, env); //
callee uses null msg_ctx without validation.
the obvious fix seems to do the trick: src\core\contextmsg_ctx.c line 570
if (msg_ctx)
msg_ctx->ref++;
Regards,
Steve Leland
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org