aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2021-05-24 19:18:23 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-07-10 20:10:14 +0000
commitcbbe611c7a35a7e5ce07b09fa3aeb1a9cb2b948e (patch)
tree54c99d88a9b0f0660e17f97ce7f52046efc18ffd
parent2450e2220bb0e48502066a238487469a0bc33749 (diff)
dcerpc: Fix warning found by Clang Analyzer
packet-dcerpc.c:4381:17: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] (cherry picked from commit 558a32ba863092b5373da6c22fd520c416c72029)
-rw-r--r--epan/dissectors/packet-dcerpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcerpc.c b/epan/dissectors/packet-dcerpc.c
index a57b2849eb..fd54654588 100644
--- a/epan/dissectors/packet-dcerpc.c
+++ b/epan/dissectors/packet-dcerpc.c
@@ -3839,6 +3839,7 @@ dissect_dcerpc_cn_auth(tvbuff_t *tvb, int stub_offset, packet_info *pinfo,
auth_info->auth_tvb = NULL;
auth_info->auth_item = NULL;
auth_info->auth_tree = NULL;
+ auth_info->auth_hdr_tvb = NULL;
/*
* The authentication information is at the *end* of the PDU; in