diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-06-25 08:54:22 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-06-25 08:54:22 +0000 |
commit | 19064d8d40ce4ff2f36571a77831240f4bc3abf5 (patch) | |
tree | 36f6e00bcf01355399b2107704ac204364f74cfa /plugins/wimax | |
parent | 9da0ff090c7adae24144d4ea04f7a3698067d6ae (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
Diffstat (limited to 'plugins/wimax')
-rw-r--r-- | plugins/wimax/msg_dlmap.c | 2 |
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); |