]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix "Pointer to local outside storage" reported by Coverity 12974/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 30 Jun 2023 16:16:03 +0000 (18:16 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 30 Jun 2023 16:19:41 +0000 (18:19 +0200)
commit4bcb6039bcfa0e5b2761dce1dfcbd2d94688e419
tree97b3d70b5f823a06daa0061f5197e65f156e786c
parent42894cb835c80b2d2c0291c9873cb1ec65046f97
dnsdist: Fix "Pointer to local outside storage" reported by Coverity

We use a temporary `std::string` for a very short tile after it is no
longer required to exist when adding a new custom metric.
Reported by Coverity as CID 394511.
pdns/dnsdistdist/dnsdist-metrics.cc