]> granicus.if.org Git - pdns/commitdiff
this commit will force potential undefined behaviour into a crash. Not observed in...
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 4 Jun 2013 13:18:34 +0000 (15:18 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 10 Jun 2013 06:52:12 +0000 (08:52 +0200)
pdns/dns.hh
pdns/dynlistener.cc

index dbc717f293a4bf2fbfc186bdcc86a89441a33d1b..170f3980e9d8162b07e7594237f7eee2f1ba372a 100644 (file)
@@ -37,7 +37,7 @@ class DNSBackend;
 
 struct SOAData
 {
-  SOAData() : scopeMask(0) {};
+  SOAData() : db(0), scopeMask(0) {};
 
   string qname;
   string nameserver;
index 593f907a5b66aefcf8a6104affb23831824840f4..b46dcec7c763cc881ab90b36f659ab899346ae49 100644 (file)
@@ -1,6 +1,6 @@
  /*
     PowerDNS Versatile Database Driven Nameserver
-    Copyright (C) 2002 - 2008  PowerDNS.COM BV
+    Copyright (C) 2002 - 2013  PowerDNS.COM BV
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License version 2 as