diff options
-rw-r--r-- | epan/dissectors/packet-coap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-coap.c b/epan/dissectors/packet-coap.c index 70ff7da7d5..5c0ced7139 100644 --- a/epan/dissectors/packet-coap.c +++ b/epan/dissectors/packet-coap.c @@ -540,6 +540,8 @@ dissect_coap_options_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *coap_tr char strbuf[56]; opt_jump = tvb_get_guint8(tvb, offset); + if (0xff == opt_jump) + return offset; offset++; /* |