From cefc5d98dcb15451da5af59bc38624cf1d24e806 Mon Sep 17 00:00:00 2001 From: bala Date: Wed, 21 May 2003 02:51:48 +0000 Subject: ChangeLogTag:Tue May 20 21:49:14 2003 Balachandran Natarajan --- TAO/ChangeLog | 6 ++++++ TAO/tao/DynamicInterface/Request.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 425c0f9f953..843ae0f5b36 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,9 @@ +Tue May 20 21:49:14 2003 Balachandran Natarajan + + * tao/DynamicInterface/Request.cpp (invoke): Added an extra check + for null Any_Impl pointers before going ahead with the + _tao_decode () call. + Tue May 20 16:56:54 2003 Balachandran Natarajan * tao/ObjectKey_Table.cpp: Added explicit template instantiation. diff --git a/TAO/tao/DynamicInterface/Request.cpp b/TAO/tao/DynamicInterface/Request.cpp index d04af286363..8f3e938dc91 100644 --- a/TAO/tao/DynamicInterface/Request.cpp +++ b/TAO/tao/DynamicInterface/Request.cpp @@ -240,7 +240,7 @@ CORBA::Request::invoke (ACE_ENV_SINGLE_ARG_DECL) // (which is also the order that DII users are required to // use). - if (this->result_ != 0) + if (this->result_ != 0 && this->result_->value ()->impl ()) { // We can be sure that the impl is a TAO::Unknown_IDL_Type. this->result_->value ()->impl ()->_tao_decode (call.inp_stream () -- cgit v1.2.1