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 c9663400d2 Coverity 1353617: Uninitialized pointer field (#10499)
c9663400d2 is described below
commit c9663400d289aa5c00952798cb2c4f4503981e77
Author: Bryan Call <[email protected]>
AuthorDate: Fri Sep 22 16:11:13 2023 -0700
Coverity 1353617: Uninitialized pointer field (#10499)
---
plugins/experimental/maxmind_acl/mmdb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/experimental/maxmind_acl/mmdb.h
b/plugins/experimental/maxmind_acl/mmdb.h
index f2801e30e7..79cb6adc3f 100644
--- a/plugins/experimental/maxmind_acl/mmdb.h
+++ b/plugins/experimental/maxmind_acl/mmdb.h
@@ -65,7 +65,7 @@ using ipstate = enum { ALLOW_IP, DENY_IP, UNKNOWN_IP };
class Acl
{
public:
- Acl() {}
+ Acl() { memset(&_mmdb, 0, sizeof(_mmdb)); }
~Acl()
{
if (db_loaded) {