From: Kees Monshouwer Date: Wed, 21 Oct 2020 20:55:28 +0000 (+0200) Subject: auth: fix reallocation issue in DNSSECKeeper::getPreRRSIGs() X-Git-Tag: auth-4.4.0-alpha2~23^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e9a5ef53b0bd5e5c99d6f4ef1a541452770f62b;p=thirdparty%2Fpdns.git auth: fix reallocation issue in DNSSECKeeper::getPreRRSIGs() --- diff --git a/pdns/dbdnsseckeeper.cc b/pdns/dbdnsseckeeper.cc index 383a3e05b4..650cbd0e69 100644 --- a/pdns/dbdnsseckeeper.cc +++ b/pdns/dbdnsseckeeper.cc @@ -611,7 +611,7 @@ void DNSSECKeeper::getPreRRSIGs(UeberBackend& db, vector& rrs, ui return; } - const auto& rr = *rrs.rbegin(); + const auto rr = *rrs.rbegin(); DNSZoneRecord dzr; std::shared_ptr rrsig;