Ethereal-dev: [Ethereal-dev] GTP dissector: probable bug, some assistance needed

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Flavio Poletti" <flavio@xxxxxxxxxxx>
Date: Fri, 30 Aug 2002 16:17:04 GMT
Hi,

still on the GTP dissector... I noticed that PPP embedded in PCO from mobiles are incorrectly displayed. In particular, when I select the line "Point-to-Point Protocol" (which is two lines below "[WARNING] Next 3 bytes...") I notice that the hexadecimal highlighting is incorrect, i.e. two more octets are selected. I think that the problem is in line 3824, within function decode_gtp_proto_conf(): next_tvb = tvb_new_subset (tvb, offset + 1, proto_len + 2, proto_len + 2); Why do we need to pass "proto_len + 2"? Could it be here that the problem arises? I've also noted that the contents of the PPP dissector are correctly handles, i.e. the two extra bytes are not highlighted. Thank you in advance and best regards, Flavio.
--
Flavio Poletti
flavio[AT]polettix.it