You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2023/09/20 12:51:27 UTC

[trafficserver] branch master updated: slice/Data.h: CID 1508924: Uninitialized scalar field (#10470)

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

bnolsen 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 84502fa369 slice/Data.h: CID 1508924: Uninitialized scalar field (#10470)
84502fa369 is described below

commit 84502fa3696c246bc8324e8ec05e556a26194ba6
Author: Brian Olsen <br...@comcast.com>
AuthorDate: Wed Sep 20 06:51:21 2023 -0600

    slice/Data.h: CID 1508924: Uninitialized scalar field (#10470)
---
 plugins/slice/Data.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/slice/Data.h b/plugins/slice/Data.h
index 175171aed9..0cce74249a 100644
--- a/plugins/slice/Data.h
+++ b/plugins/slice/Data.h
@@ -106,6 +106,7 @@ struct Data {
     m_hostname[0]     = '\0';
     m_etag[0]         = '\0';
     m_lastmodified[0] = '\0';
+    memset(&m_client_ip, 0, sizeof(m_client_ip));
   }
 
   ~Data()