From 50d471eaed5e44bd72139b7a0136567c9a31a589 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Tue, 29 Sep 2015 21:47:30 +0300 Subject: [PATCH] Initialize CommunicatorClass members fix cid#1030057 --- pdns/communicator.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pdns/communicator.hh b/pdns/communicator.hh index f234222a7..7b7df8307 100644 --- a/pdns/communicator.hh +++ b/pdns/communicator.hh @@ -153,6 +153,10 @@ public: d_tickinterval=60; d_masterschanged=d_slaveschanged=true; + d_nsock4 = -1; + d_nsock6 = -1; + d_havepriosuckrequest = false; + d_preventSelfNotification = false; } time_t doNotifications(); void go(); -- 2.40.0