diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2017-04-05 22:29:01 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-04-06 04:50:06 +0000 |
commit | 0bd11903938e7fbcc876888178ed9c1f085fdffc (patch) | |
tree | 0919336a34643c19e23e4225193ac2e91ffff477 /epan/dissectors/packet-bgp.c | |
parent | 899f98911365c22434c61df91fd0a6df576be276 (diff) |
BGP: fix a variable underflow
Bug: 13557
Change-Id: I882c8a7161ff233e289a413579ed51c3b8f43c36
Reviewed-on: https://code.wireshark.org/review/20940
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-bgp.c')
-rw-r--r-- | epan/dissectors/packet-bgp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c index 6ad91937d0..32ef4df93d 100644 --- a/epan/dissectors/packet-bgp.c +++ b/epan/dissectors/packet-bgp.c @@ -6801,7 +6801,7 @@ dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len, while (i < path_attr_len) { proto_item *ti_pa, *ti_flags; int off; - guint16 alen, aoff, tlen, aoff_save; + gint alen, aoff, tlen, aoff_save; guint16 af; guint8 saf, snpa; guint8 nexthop_len; |