aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2008-06-25 08:54:22 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2008-06-25 08:54:22 +0000
commit7001a1564be14100e5fb1dd2abb50131d567fe68 (patch)
tree36f6e00bcf01355399b2107704ac204364f74cfa /plugins
parent4838e5d7f268f64bdeb25209e1e0a2145f8b1e41 (diff)
downloadwireshark-7001a1564be14100e5fb1dd2abb50131d567fe68.tar.gz
wireshark-7001a1564be14100e5fb1dd2abb50131d567fe68.tar.bz2
wireshark-7001a1564be14100e5fb1dd2abb50131d567fe68.zip
For for compressed DLMAP decode error.
From Frank Wang (bug 2640). svn path=/trunk/; revision=25599
Diffstat (limited to 'plugins')
-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);