From 2a4a6f689330cc6b73baaf55a07146c861d4a2a2 Mon Sep 17 00:00:00 2001 From: AndersBroman Date: Tue, 7 Feb 2017 16:29:11 +0100 Subject: [PATCH] Ubuntu 14.04 complains about unititialized variable proto_name_length Change-Id: I325e98c9eeafaa53b5f757f4b8e5e903a31e1cc2 Reviewed-on: https://code.wireshark.org/review/19987 Reviewed-by: Anders Broman Petri-Dish: Anders Broman Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu --- epan/dissectors/packet-ssl-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c index 75fc5b491a..7ac2693e00 100644 --- a/epan/dissectors/packet-ssl-utils.c +++ b/epan/dissectors/packet-ssl-utils.c @@ -5824,7 +5824,7 @@ ssl_dissect_hnd_hello_ext_alpn(ssl_common_dissect_t *hf, tvbuff_t *tvb, proto_item *ti; guint32 next_offset, alpn_length, name_length; guint8 *proto_name = NULL; - guint32 proto_name_length; + guint32 proto_name_length = 0; /* ProtocolName protocol_name_list<2..2^16-1> */ if (!ssl_add_vector(hf, tvb, pinfo, tree, offset, offset_end, &alpn_length, -- 2.34.1