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>
This commit is contained in:
Pascal Quantin 2017-04-05 22:29:01 +02:00 committed by Anders Broman
parent 899f989113
commit 0bd1190393
1 changed files with 1 additions and 1 deletions

View File

@ -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;