]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commit4e68dbf19490e5bdc3f7a1587c17429f8e6bac23
tree30be25ac6ac780a9cc5b66faf0b640c905ffcc66
parentd388063466a49702a5237250853ccb4033658490
parent303c20caf8f7c245da522b630ba6a466414b4184
fix: dev: Fix the foundname vs dcname madness in qpcache_findzonecut()

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