diff options
author | Evan Huus <eapache@gmail.com> | 2013-11-20 22:34:36 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-11-20 22:34:36 +0000 |
commit | 3b6573c2fb23ade414e740de256ad0d2fee7e6be (patch) | |
tree | 0578e00446cb782d9572d2a692acf5d81dddea13 /epan | |
parent | f7f4efabb840656bf0416ff704ac00d0a9582820 (diff) |
As per suggestion of Mike Morrin via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9406
The GSM CBCH assertion should be <= 48 not <48. Fixes one of the failing
assertions with the capture from that bug.
svn path=/trunk/; revision=53453
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-gsm_cbch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_cbch.c b/epan/dissectors/packet-gsm_cbch.c index 28959a9389..8117ffb284 100644 --- a/epan/dissectors/packet-gsm_cbch.c +++ b/epan/dissectors/packet-gsm_cbch.c @@ -195,7 +195,7 @@ dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree sched_subtree = proto_item_add_subtree(item, ett_schedule_new_msg); for (i=0; i<k; i++) { - DISSECTOR_ASSERT(new_slots[i] < 48); + DISSECTOR_ASSERT(new_slots[i] <= 48); octet1 = tvb_get_guint8(tvb, offset); if ((octet1 & 0x80) == 0x80) { |