summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tao/Strategies/GIOP_Message_NonReactive_Handler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/tao/Strategies/GIOP_Message_NonReactive_Handler.cpp b/TAO/tao/Strategies/GIOP_Message_NonReactive_Handler.cpp
index 8f18033ab58..7f3b35b9f62 100644
--- a/TAO/tao/Strategies/GIOP_Message_NonReactive_Handler.cpp
+++ b/TAO/tao/Strategies/GIOP_Message_NonReactive_Handler.cpp
@@ -27,6 +27,10 @@ int
TAO_GIOP_Message_NonReactive_Handler::read_parse_message(TAO_Transport *transport,
ACE_Time_Value *max_wait_time)
{
+ // Reset the input_cdr before we do anything with it
+ this->input_cdr_.reset_contents ();
+
+ // Before we do this let us reset the
char *buf = this->input_cdr_.rd_ptr ();
// This is of the following pieces: