From 3c07c4cd5134af4af3ab30493fdfc90617bdff4d Mon Sep 17 00:00:00 2001 From: parsons Date: Wed, 12 May 1999 01:41:54 +0000 Subject: *** empty log message *** --- TAO/ChangeLog-99c | 8 ++++++++ TAO/tao/Environment.cpp | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/TAO/ChangeLog-99c b/TAO/ChangeLog-99c index 7c6024fa88e..8d3c7cfbf0c 100644 --- a/TAO/ChangeLog-99c +++ b/TAO/ChangeLog-99c @@ -1,3 +1,11 @@ +Tue May 11 20:40:52 1999 Jeff Parsons + + * tao/Environment.cpp: + Added a check for NULL pointer before dereferencing the + exception (to increment the refcount) in the copy + constructor. This was causing all the DII param_tests to + fail. + Tue May 11 18:06:40 1999 Balachandran Natarajan * tao/Makefile: diff --git a/TAO/tao/Environment.cpp b/TAO/tao/Environment.cpp index ab4d7956c86..5337ff8c813 100644 --- a/TAO/tao/Environment.cpp +++ b/TAO/tao/Environment.cpp @@ -47,7 +47,8 @@ CORBA_Environment::CORBA_Environment (const CORBA_Environment& rhs) previous_ (0) { // TAO_ORB_Core_instance ()->default_environment (this); - exception_->_incr_refcnt (); + if (this->exception_) + this->exception_->_incr_refcnt (); } CORBA_Environment::CORBA_Environment (TAO_ORB_Core* orb_core) -- cgit v1.2.1