diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-20 19:40:26 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-09-20 19:40:26 +0000 |
commit | 857dbb03b6fb01b90a42eb57e8bc79a0bced0048 (patch) | |
tree | 48b17f5e3509c9a99b37abf9082c180be2904c96 /epan/dissectors/packet-esis.c | |
parent | 012018110a32060a6f7412620ad3103c39cc7457 (diff) |
From Mathias Guettler via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9159 :
ESIS dissector exception due to incorrect length parameter to 'proto_tree_add_uint'
svn path=/trunk/; revision=52160
Diffstat (limited to 'epan/dissectors/packet-esis.c')
-rw-r--r-- | epan/dissectors/packet-esis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-esis.c b/epan/dissectors/packet-esis.c index 099ca93890..61c559cd45 100644 --- a/epan/dissectors/packet-esis.c +++ b/epan/dissectors/packet-esis.c @@ -167,7 +167,7 @@ esis_dissect_esh_pdu( guint8 len, tvbuff_t *tvb, proto_tree *tree) { no_sa = tvb_get_guint8(tvb, offset); len -= 1; - ti = proto_tree_add_uint( tree, hf_esis_number_of_source_addresses, tvb, offset, -1, no_sa); + ti = proto_tree_add_uint( tree, hf_esis_number_of_source_addresses, tvb, offset, 1, no_sa); offset++; esis_area_tree = proto_item_add_subtree( ti, ett_esis_area_addr ); |