aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Paliga <marius.paliga@gmail.com>2017-10-26 14:57:39 +0200
committerMichael Mann <mmann78@netscape.net>2017-10-26 13:42:59 +0000
commit52332e3f9a98c618f9300d8c88955ca9d11627b5 (patch)
tree418842f8671c4c80a8caae124d3e5dc10016f5f9
parent91ae90ba82709a534d160dd35392dc60274ad3c1 (diff)
PFCP: Fix offset after decoding Message Length
Change-Id: I163b4b1dfcad68e392fbddc3327ad081ca304a85 Reviewed-on: https://code.wireshark.org/review/24078 Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--epan/dissectors/packet-pfcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-pfcp.c b/epan/dissectors/packet-pfcp.c
index 1ea4a99..efa472c 100644
--- a/epan/dissectors/packet-pfcp.c
+++ b/epan/dissectors/packet-pfcp.c
@@ -3426,6 +3426,7 @@ dissect_pfcp(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void *data
/* Octet 3 - 4 Message Length */
proto_tree_add_item_ret_uint(sub_tree, hf_pfcp_msg_length, tvb, offset, 2, ENC_BIG_ENDIAN, &length);
+ offset += 2;
if ((pfcp_flags & 0x1) == 1) {
/* If S flag is set to 1, then SEID shall be placed into octets 5-12*/