aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-11-01 07:45:42 -0400
committerMichael Mann <mmann78@netscape.net>2017-11-03 13:59:29 +0000
commite00162301b243aff8d0e2760367243edf222a150 (patch)
tree8c11337db04fc48f998f4c3ed6ac08c62c70ffcd
parentf6edbcd6439666319a875c5b4d4fd80b7834c57c (diff)
Ensure endpoint members of packet_info structure are initialized in packet.c
Change-Id: I4c7a4f9888c8bdc87ded88fa997aa2aad9530fd7 Reviewed-on: https://code.wireshark.org/review/24218 Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--epan/packet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/packet.c b/epan/packet.c
index b44a58b..25c4d1b 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -544,6 +544,8 @@ dissect_record(epan_dissect_t *edt, int file_type_subtype,
edt->pi.ctype = CT_NONE;
edt->pi.noreassembly_reason = "";
edt->pi.ptype = PT_NONE;
+ edt->pi.use_endpoint = FALSE;
+ edt->pi.conv_endpoint = NULL;
edt->pi.p2p_dir = P2P_DIR_UNKNOWN;
edt->pi.link_dir = LINK_DIR_UNKNOWN;
edt->pi.layers = wmem_list_new(edt->pi.pool);
@@ -610,6 +612,8 @@ dissect_file(epan_dissect_t *edt, struct wtap_pkthdr *phdr,
edt->pi.ctype = CT_NONE;
edt->pi.noreassembly_reason = "";
edt->pi.ptype = PT_NONE;
+ edt->pi.use_endpoint = FALSE;
+ edt->pi.conv_endpoint = NULL;
edt->pi.p2p_dir = P2P_DIR_UNKNOWN;
edt->pi.link_dir = LINK_DIR_UNKNOWN;
edt->pi.layers = wmem_list_new(edt->pi.pool);