From: Otto Moerbeek Date: Fri, 1 Apr 2022 10:26:42 +0000 (+0200) Subject: Coverity: 1469685 Dereference null return value X-Git-Tag: rec-4.7.0-beta1~22^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b901a4c83b40e91bee2e8633f23be483c7a209ab;p=thirdparty%2Fpdns.git Coverity: 1469685 Dereference null return value --- diff --git a/pdns/rpzloader.cc b/pdns/rpzloader.cc index 816be7892f..fb88c8d675 100644 --- a/pdns/rpzloader.cc +++ b/pdns/rpzloader.cc @@ -464,7 +464,9 @@ void RPZIXFRTracker(const std::vector& primaries, const boost::opt vector, vector > > deltas; for (const auto& primary : primaries) { - g_log<(dr)->d_st.serial<(dr); + auto serial = soa ? soa->d_st.serial : 0; + g_log<