diff options
author | dai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-09-09 21:59:58 +0000 |
---|---|---|
committer | dai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-09-09 21:59:58 +0000 |
commit | b47566978c1940389cdc1b02ef3cf000a70c029c (patch) | |
tree | 831584918fd37d03ea04145a2c4563de53dc9e39 /TAO | |
parent | 3f5072706c62676a27bfeff95d74ba81c65172e8 (diff) | |
download | ATCD-b47566978c1940389cdc1b02ef3cf000a70c029c.tar.gz |
Tue Sep 9 21:55:12 UTC 2008 Yan Dai <dai_y@ociweb.com>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLog | 11 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp | 5 |
3 files changed, 16 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index f41e7b76f68..ce11d9c2bb1 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,14 @@ +Tue Sep 9 21:55:12 UTC 2008 Yan Dai <dai_y@ociweb.com> + + * orbsvcs/orbsvcs/AV/AVStreams_i.cpp: + + Made token_array_ all elements initialized to be 0. + + * orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp: + + Made all pointer data memebers in TAO_AV_Child_Process to be + initialized to be 0. + Tue Sep 9 21:36:01 UTC 2008 Adam Mitz <mitza@ociweb.com> * tao/Transport.inl (cache_map_entry): diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp index cb35c64fa0b..49d665fa1b2 100644 --- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp @@ -4427,7 +4427,7 @@ TAO_FlowConsumer::connect_to_peer (AVStreams::QoS & the_qos, // TAO_Tokenizer //------------------------------------------------------------ TAO_Tokenizer::TAO_Tokenizer (const char *string, char delimiter) - :token_array_ (10), + :token_array_ (10, (char*)0, 0), count_ (0) { this->parse (string, delimiter); diff --git a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp index 5a2064df567..712f06d25e6 100644 --- a/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp +++ b/TAO/orbsvcs/orbsvcs/AV/Endpoint_Strategy_T.cpp @@ -340,7 +340,10 @@ TAO_AV_Endpoint_Reactive_Strategy_B<T_StreamEndpoint, T_VDev, T_MediaCtrl>::crea template <class T_StreamEndpoint_B, class T_VDev , class T_MediaCtrl> TAO_AV_Child_Process <T_StreamEndpoint_B, T_VDev, T_MediaCtrl>::TAO_AV_Child_Process () : stream_endpoint_name_ (0), - pid_ (-1) + pid_ (-1), + stream_endpoint_(0), + vdev_ (0), + media_ctrl_ (0) { this->pid_ = ACE_OS::getpid (); if (this->pid_ == 0) |