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

cmcfarlen pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 944fb93626b9702e1a12a6bdafc6c3ec9bf1a2db
Author: Masaori Koshiba <[email protected]>
AuthorDate: Fri Apr 19 08:30:15 2024 +0900

    Initialize HistoryEntry array (#11264)
    
    (cherry picked from commit e6c269aadd433c96ed42ff720a6970365588907b)
---
 include/tscore/History.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/tscore/History.h b/include/tscore/History.h
index e52a48f451..33722f95f1 100644
--- a/include/tscore/History.h
+++ b/include/tscore/History.h
@@ -74,7 +74,7 @@ public:
   }
 
 private:
-  HistoryEntry history[Count];
+  HistoryEntry history[Count] = {};
 
   unsigned int history_pos = 0;
 };

Reply via email to