diff options
author | Lars Roland <Lars.Roland@gmx.net> | 2005-05-07 00:14:11 +0000 |
---|---|---|
committer | Lars Roland <Lars.Roland@gmx.net> | 2005-05-07 00:14:11 +0000 |
commit | 52d26f6eb8cb0538c9bc8adb5e04b85e390daef9 (patch) | |
tree | 631cfdbd0dfac59c581977a09c513950378f1a40 /epan/dissectors/packet-osi-options.c | |
parent | a456014e297060b3a5839bc131308fb9463e078f (diff) |
Increase size of an integer to prevent an integer overflow
Fixes Bug 162
svn path=/trunk/; revision=14325
Diffstat (limited to 'epan/dissectors/packet-osi-options.c')
-rw-r--r-- | epan/dissectors/packet-osi-options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-osi-options.c b/epan/dissectors/packet-osi-options.c index b7f2530398..6b2cc0d8ee 100644 --- a/epan/dissectors/packet-osi-options.c +++ b/epan/dissectors/packet-osi-options.c @@ -217,7 +217,7 @@ dissect_option_route( guchar parm_type, int offset, guchar parm_len, tvbuff_t *tvb, proto_tree *tree ) { guchar next_hop = 0; - guchar this_hop = 0; + guint16 this_hop = 0; guchar netl = 0; guchar last_hop = 0; guchar cnt_hops = 0; |