aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wsmp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-07 15:54:11 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-07 15:54:11 +0000
commiteac2762d46f782faf683624b4d4d74881b268649 (patch)
tree9250ba9f8c8f02133444a1d5f842d2b7423d0957 /epan/dissectors/packet-wsmp.c
parent50ddf471e8687c7d83a8c8d75781cc2f6ddfe517 (diff)
8-bit counter variable not big enough and causes infinite loop. Bug 9392 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9392).
svn path=/trunk/; revision=53141
Diffstat (limited to 'epan/dissectors/packet-wsmp.c')
-rw-r--r--epan/dissectors/packet-wsmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-wsmp.c b/epan/dissectors/packet-wsmp.c
index 993a0ac8be..d1538e93af 100644
--- a/epan/dissectors/packet-wsmp.c
+++ b/epan/dissectors/packet-wsmp.c
@@ -93,8 +93,8 @@ dissect_wsmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *wsmp_tree, *wsmdata_tree;
tvbuff_t *wsmdata_tvb;
guint16 wsmlength, offset;
- guint32 psidLen, psid;
- guint8 elemenId, elemenLen, msb, supLen;
+ guint32 psidLen, psid, supLen;
+ guint8 elemenId, elemenLen, msb;
/* Make entries in Protocol column and Info column on summary display */
col_set_str(pinfo->cinfo, COL_PROTOCOL, "WSMP");