diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-08-06 12:18:16 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-08-06 12:18:16 +0000 |
commit | 90c3d3fb811e19e86a51711d12b83a4b30456ab6 (patch) | |
tree | 329569c291d7c0d3ef92399272866e8b04f68a67 | |
parent | dd8070c8edb23cfe9933f49e1ccc48ef4deec976 (diff) | |
download | ATCD-90c3d3fb811e19e86a51711d12b83a4b30456ab6.tar.gz |
ChangeLogTag:Fri Aug 6 12:16:35 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 7 | ||||
-rw-r--r-- | TAO/utils/nslist/nslist.cpp | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index be7ffb98bfd..8664026997f 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,10 @@ +Fri Aug 6 12:16:35 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu> + + * utils/nslist/nslist.cpp: + + Fixed a core dump with the Object is _nil (). Thanks to Tufan + Oruk <toruk at usa dot net> for the patch. + Thu Aug 5 23:42:02 2004 J.T. Conklin <jtc@acorntoolworks.com> * orbsvcs/orbsvcs/ec_typed_events.mpb: diff --git a/TAO/utils/nslist/nslist.cpp b/TAO/utils/nslist/nslist.cpp index 5f082199fee..4b6a759c464 100644 --- a/TAO/utils/nslist/nslist.cpp +++ b/TAO/utils/nslist/nslist.cpp @@ -53,6 +53,11 @@ get_tag_name (CORBA::ULong tag, ACE_CString& tag_string) static void display_endpoint_info (CORBA::Object_ptr obj) { + if ( obj == CORBA::Object::_nil ()) + { + ACE_DEBUG ((LM_DEBUG, "Nil\n")); + return; + } TAO_Stub *stub = obj->_stubobj (); if (!stub) |