aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isis-lsp.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-08-06 15:18:45 +0000
committerGerald Combs <gerald@wireshark.org>2005-08-06 15:18:45 +0000
commitb226f35d6dcdee5a02d0a4ed1da3733280d3ce02 (patch)
tree07414e7138cf58821e7f3eee39b5865c95aaa40b /epan/dissectors/packet-isis-lsp.c
parent62b7cc3043f63836ab26d866ba5885a11c409ebf (diff)
Increase the size of some variables so that we don't overflow them and loop
forever. Fixes bug 320. svn path=/trunk/; revision=15245
Diffstat (limited to 'epan/dissectors/packet-isis-lsp.c')
-rw-r--r--epan/dissectors/packet-isis-lsp.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/epan/dissectors/packet-isis-lsp.c b/epan/dissectors/packet-isis-lsp.c
index 519a4616c7..27b90968df 100644
--- a/epan/dissectors/packet-isis-lsp.c
+++ b/epan/dissectors/packet-isis-lsp.c
@@ -689,12 +689,12 @@ dissect_lsp_ext_ip_reachability_clv(tvbuff_t *tvb, proto_tree *tree,
proto_tree *subtree = NULL;
proto_tree *subtree2 = NULL;
guint8 ctrl_info;
- guint8 bit_length, byte_length;
+ guint bit_length, byte_length;
guint8 prefix [4];
guint32 metric;
- guint8 len,i;
- guint8 subclvs_len;
- guint8 clv_code, clv_len;
+ guint len,i;
+ guint subclvs_len;
+ guint clv_code, clv_len;
if (!tree) return;
@@ -792,12 +792,12 @@ dissect_lsp_ipv6_reachability_clv(tvbuff_t *tvb, proto_tree *tree, int offset,
proto_tree *subtree = NULL;
proto_tree *subtree2 = NULL;
guint8 ctrl_info;
- guint8 bit_length, byte_length;
+ guint bit_length, byte_length;
struct e_in6_addr prefix;
guint32 metric;
- guint8 len,i;
- guint8 subclvs_len;
- guint8 clv_code, clv_len;
+ guint len,i;
+ guint subclvs_len;
+ guint clv_code, clv_len;
if (!tree) return;
@@ -1431,9 +1431,9 @@ dissect_lsp_ext_is_reachability_clv(tvbuff_t *tvb, proto_tree *tree,
{
proto_item *ti;
proto_tree *ntree = NULL;
- guint8 subclvs_len;
- guint8 len, i;
- guint8 clv_code, clv_len;
+ guint subclvs_len;
+ guint len, i;
+ guint clv_code, clv_len;
if (!tree) return;