summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2004-11-04 19:15:56 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2004-11-04 19:15:56 +0000
commit01537c7ac279a93688d167d0a80697f7473cfc53 (patch)
tree9327603d7fe97572ae602aa85ed6faf5c99e37b9
parentdf5e4c3671ce2ab9f5f84b26e1ed2375c3c8a110 (diff)
downloadATCD-01537c7ac279a93688d167d0a80697f7473cfc53.tar.gz
ChangeLogTag: Thu Nov 4 13:14:24 2004 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--TAO/ChangeLog21
-rw-r--r--TAO/orbsvcs/tests/Security/Secure_Invocation/server.cpp30
2 files changed, 30 insertions, 21 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 18ff9d1738f..bb911334c83 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,9 +1,16 @@
+Thu Nov 4 13:14:24 2004 Chad Elliott <elliott_c@ociweb.com>
+
+ * orbsvcs/tests/Security/Secure_Invocation/server.cpp:
+
+ Moved a servant implementation object outside of a constrained
+ scope so that it is still around when the POA is destroyed.
+
Thu Nov 4 12:35:02 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
* orbsvcs/orbsvcs/IFR_Service_Utils.cpp:
-
+
Fixed potential memory leak in the Interface Repository which
- happens when open() is called on a just-allocated
+ happens when open() is called on a just-allocated
ACE_Configuration pointer. If the call fails, the method
was returning without deleting the pointer. Thanks to
Gary Maxey <gary.maxey@hp.com> for reporting the problem.
@@ -11,7 +18,7 @@ Thu Nov 4 12:35:02 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Thu Nov 4 12:09:00 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
* orbsvcs/IFR_Service/ifr_adding_visitor.cpp:
-
+
Fixed a bug in the creation of an abstract interface entry
in the Interface Repository. This creation requires a list
of parents, and the list must be a CORBA sequence of
@@ -25,11 +32,11 @@ Thu Nov 4 12:09:00 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Wed Nov 3 06:14:08 2004 J.T. Conklin <jtc@acorntoolworks.com>
- * orbsvcs/orbsvcs/FTORB.mpc:
+ * orbsvcs/orbsvcs/FTORB.mpc:
- Removed PortableGroup_Simple_DSC.cpp from FT_ClientORB and
- FT_ServerORB projects, as it is already in the FTORB_Utils
- library that both depend on.
+ Removed PortableGroup_Simple_DSC.cpp from FT_ClientORB and
+ FT_ServerORB projects, as it is already in the FTORB_Utils
+ library that both depend on.
Wed Nov 3 07:15:24 2004 Chad Elliott <elliott_c@ociweb.com>
diff --git a/TAO/orbsvcs/tests/Security/Secure_Invocation/server.cpp b/TAO/orbsvcs/tests/Security/Secure_Invocation/server.cpp
index 64ab5c952a5..57c15739cbf 100644
--- a/TAO/orbsvcs/tests/Security/Secure_Invocation/server.cpp
+++ b/TAO/orbsvcs/tests/Security/Secure_Invocation/server.cpp
@@ -95,22 +95,24 @@ main (int argc, char *argv[])
ACE_TRY_CHECK;
// Sanity check on SSLIOP profile equivalence.
- {
- Foo_i server_impl2 (orb.in (), security_current.in ());
- Foo::Bar_var server2 =
- server_impl2._this (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
-
- const CORBA::Boolean equivalent =
- server->_is_equivalent (server2.in ()
- ACE_ENV_ARG_PARAMETER);
- ACE_TRY_CHECK;
+ // Since the POA is reference counting the servants, this
+ // implementation must still exist when the POA is destroyed.
+ Foo_i server_impl2 (orb.in (), security_current.in ());
+ Foo::Bar_var server2 =
+ server_impl2._this (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
- // @@ A better thing would be to print out an error statement.
- ACE_ASSERT (!equivalent);
+ const CORBA::Boolean equivalent =
+ server->_is_equivalent (server2.in ()
+ ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
- ACE_UNUSED_ARG (equivalent);
- }
+ if (equivalent)
+ {
+ ACE_ERROR ((LM_ERROR,
+ "(%P|%t) ERROR: SSLIOP profile equivalence "
+ "check failed.\n"));
+ }
CORBA::String_var ior =
orb->object_to_string (server.in () ACE_ENV_ARG_PARAMETER);