[test@dev02 ~]$ diff -u ACE_wrappers.ORIG/TAO/tao/Unbounded_Sequence_CDR_T.h ACE_wrappers.NEW/TAO/tao/Unbounded_Sequence_CDR_T.h --- ACE_wrappers.ORIG/TAO/tao/Unbounded_Sequence_CDR_T.h 2009-01-18 14:57:23.000000000 -0500 +++ ACE_wrappers.NEW/TAO/tao/Unbounded_Sequence_CDR_T.h 2009-01-18 15:01:10.000000000 -0500 @@ -109,7 +109,6 @@ return false; } sequence tmp(new_length); - tmp.length(new_length); if (ACE_BIT_DISABLED (strm.start ()->flags (), ACE_Message_Block::DONT_DELETE)) { TAO_ORB_Core* orb_core = strm.orb_core (); @@ -123,6 +122,7 @@ return true; } } + tmp.length(new_length); typename sequence::value_type * buffer = tmp.get_buffer(); if (!strm.read_octet_array (buffer, new_length)) { return false;