forked from osmocom/wireshark
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:
parent
29aecdf032
commit
304f9021f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue