aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-ptp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ptp.c b/epan/dissectors/packet-ptp.c
index a6a4f8fdb6..d688dc017f 100644
--- a/epan/dissectors/packet-ptp.c
+++ b/epan/dissectors/packet-ptp.c
@@ -2459,7 +2459,7 @@ dissect_ptp_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean ptp
} else if (msg_len < PTP_V2_MESSAGE_LENGTH_OFFSET + 2) {
/* Bogus message length - not long enough to include the message length field */
expert_add_info(pinfo, msg_len_item, &ei_ptp_v2_msg_len_too_small);
- THROW(ReportedBoundsError);
+ return;
} else {
/*
* Set the length of this tvbuff to the message length, chopping