diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-27 18:31:56 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-07-27 18:31:56 +0000 |
commit | 80d8eccac2d60c44ecb7fe715f94c3649ddecfda (patch) | |
tree | f20df16e295042307391283be8f45ef6eb90e600 /packet-giop.c | |
parent | 0efcd6147189f9d05730aa14f75f1b3e8e59bce1 (diff) |
Update from Frank Singleton to get rid of a bogus "Malformed Frame"
indication when reading an IOR with TAG_MULTIPLE_COMPONENTS.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3794 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-giop.c')
-rw-r--r-- | packet-giop.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-giop.c b/packet-giop.c index e18704716d..25c3d1848e 100644 --- a/packet-giop.c +++ b/packet-giop.c @@ -9,7 +9,7 @@ * Frank Singleton <frank.singleton@ericsson.com> * Trevor Shepherd <eustrsd@am1.ericsson.se> * - * $Id: packet-giop.c,v 1.44 2001/07/26 16:59:28 guy Exp $ + * $Id: packet-giop.c,v 1.45 2001/07/27 18:31:56 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -4385,16 +4385,16 @@ static void decode_TaggedProfile(tvbuff_t *tvb, packet_info *pinfo, proto_tree * default: - /* fetch all octets in this sequence */ + /* fetch all octets in this sequence , but skip endianess */ - get_CDR_octet_seq(tvb, &profile_data, offset, seqlen_pd); + get_CDR_octet_seq(tvb, &profile_data, offset, seqlen_pd -1); /* Make a printable string */ - p_profile_data = make_printable_string( profile_data, seqlen_pd ); + p_profile_data = make_printable_string( profile_data, seqlen_pd -1); if(tree) { - proto_tree_add_text (tree, tvb, *offset -seqlen_pd, seqlen_pd, + proto_tree_add_text (tree, tvb, *offset -seqlen_pd + 1, seqlen_pd - 1, "Profile Data: %s", p_profile_data); } |