]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Fix the foundname vs dcname madness in qpcache_findzonecut()
authorOndřej Surý <ondrej@isc.org>
Wed, 5 Mar 2025 06:49:59 +0000 (06:49 +0000)
committerOndřej Surý <ondrej@isc.org>
Wed, 5 Mar 2025 06:49:59 +0000 (06:49 +0000)
The qpcache_findzonecut() accepts two "foundnames": 'foundname' and
'dcname' could be NULL.  Originally, when 'dcname' would be NULL, the
'dcname' would be set to 'foundname' which basically means that we were
copying the .ndata over itself for no apparent reason.

Merge branch 'ondrej/refactor-qpcache_findzonecut' into 'main'

See merge request isc-projects/bind9!10049


Trivial merge