PTP: just return, don't throw an exception

Change-Id: Icaca74f7d5038b4e2e232fb499933219b322e02d
Reviewed-on: https://code.wireshark.org/review/9159
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
Martin Kaiser 2015-06-25 13:06:53 -07:00
parent 29aecdf032
commit 304f9021f4
1 changed files with 1 additions and 1 deletions

View File

@ -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