]> granicus.if.org Git - pdns/commitdiff
Initialize d_server
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 1 Apr 2014 10:03:46 +0000 (12:03 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 1 Apr 2014 10:04:35 +0000 (12:04 +0200)
Fixes Coverity CID 1194781.

pdns/webserver.cc

index 478dcfd3fff5ded8c0dc239d44a29f409f561e62..e4e30a0f883a63023f35a4ef547c4619aef50a3e 100644 (file)
@@ -314,7 +314,7 @@ catch(...) {
   L<<Logger::Error<<"HTTP: Unknown exception"<<endl;
 }
 
-WebServer::WebServer(const string &listenaddress, int port, const string &password)
+WebServer::WebServer(const string &listenaddress, int port, const string &password) : d_server(NULL)
 {
   d_listenaddress=listenaddress;
   d_port=port;