This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 8d2a49b230 Coverity 1021744: Uninitialized scalar field (#10498)
8d2a49b230 is described below

commit 8d2a49b23034a6aaca8773ef2596d6e078013004
Author: Bryan Call <[email protected]>
AuthorDate: Fri Sep 22 13:36:16 2023 -0700

    Coverity 1021744: Uninitialized scalar field (#10498)
---
 iocore/net/P_SSLNetVConnection.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iocore/net/P_SSLNetVConnection.h b/iocore/net/P_SSLNetVConnection.h
index 99b3b50370..d51eb32371 100644
--- a/iocore/net/P_SSLNetVConnection.h
+++ b/iocore/net/P_SSLNetVConnection.h
@@ -339,8 +339,8 @@ public:
   SSLNetVConnection(const SSLNetVConnection &)            = delete;
   SSLNetVConnection &operator=(const SSLNetVConnection &) = delete;
 
-  bool protocol_mask_set = false;
-  unsigned long protocol_mask;
+  bool protocol_mask_set      = false;
+  unsigned long protocol_mask = 0;
 
   // Only applies during the VERIFY certificate hooks (client and server side)
   // Means to give the plugin access to the data structure passed in during 
the underlying

Reply via email to