aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-25 08:54:22 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2008-06-25 08:54:22 +0000
commit19064d8d40ce4ff2f36571a77831240f4bc3abf5 (patch)
tree36f6e00bcf01355399b2107704ac204364f74cfa
parent9da0ff090c7adae24144d4ea04f7a3698067d6ae (diff)
For for compressed DLMAP decode error.
From Frank Wang (bug 2640). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25599 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--plugins/wimax/msg_dlmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wimax/msg_dlmap.c b/plugins/wimax/msg_dlmap.c
index 98f3d4914f..fcab58676a 100644
--- a/plugins/wimax/msg_dlmap.c
+++ b/plugins/wimax/msg_dlmap.c
@@ -2562,7 +2562,7 @@ gint wimax_decode_dlmapc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *base_tre
length = BYTE_TO_NIB(mac_len - sizeof(mac_crc) - 1); /* convert length to nibbles */
- while (nib < length) {
+ while (dl_ie_count--) {
nib += dissect_dlmap_ie(ie_tree, bufptr, nib, tvb_len * 2, tvb);
}
pad = NIB_PADDING(nib);