summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_State.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-11 22:06:17 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-11 22:06:17 +0000
commitc034663f99ec7f8b4fcdbba300040ce597143caa (patch)
treede2216e5efebf2882b519d6535457f97785688e6 /TAO/tao/GIOP_Message_State.cpp
parent3744f5015b95cacfd47bc205880ebdd5881a11e3 (diff)
downloadATCD-c034663f99ec7f8b4fcdbba300040ce597143caa.tar.gz
ChangeLogTag: Sat Aug 11 17:02:44 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/GIOP_Message_State.cpp')
-rw-r--r--TAO/tao/GIOP_Message_State.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tao/GIOP_Message_State.cpp b/TAO/tao/GIOP_Message_State.cpp
index 1dfe9bacf32..ad6e59361af 100644
--- a/TAO/tao/GIOP_Message_State.cpp
+++ b/TAO/tao/GIOP_Message_State.cpp
@@ -236,7 +236,9 @@ TAO_GIOP_Message_State::parse_fragment_header (char *buf,
// By this point we are doubly sure that we have a more or less
// valid GIOP message with a valid major revision number.
- if (this->giop_version_.minor == 2 && length > len)
+ if (this->giop_version_.minor == 2 &&
+ this->message_type_ == TAO_GIOP_FRAGMENT &&
+ length > len)
{
// Fragmented message in GIOP 1.2 should have a fragment header
// following the GIOP header. Grab the rd_ptr to get that