]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth lmdb: default values for KeyDataDB members, thanks ubsan 11306/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 9 Feb 2022 10:55:25 +0000 (11:55 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 9 Feb 2022 10:55:25 +0000 (11:55 +0100)
modules/lmdbbackend/lmdbbackend.hh

index 2325c67bd9562c604d54c3cd952135dd530f597d..6e26e99b2452ef76afa37b6719bdbe425fc52e45 100644 (file)
@@ -219,9 +219,9 @@ public:
   {
     DNSName domain;
     std::string content;
-    unsigned int flags;
-    bool active;
-    bool published;
+    unsigned int flags{0};
+    bool active{true};
+    bool published{true};
   };
   class LMDBResourceRecord : public DNSResourceRecord
   {