diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-08-11 22:06:17 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-08-11 22:06:17 +0000 |
commit | 2ef1879f871c7d2583f927270570bc0f3012059c (patch) | |
tree | de2216e5efebf2882b519d6535457f97785688e6 /TAO/tao/GIOP_Message_State.cpp | |
parent | fcab4b8ad682213486dbab68f69fdd39cbbcdae8 (diff) | |
download | ATCD-2ef1879f871c7d2583f927270570bc0f3012059c.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.cpp | 4 |
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 |