From: Ondřej Surý Date: Wed, 5 Mar 2025 06:49:59 +0000 (+0000) Subject: fix: dev: Fix the foundname vs dcname madness in qpcache_findzonecut() X-Git-Tag: ondrej/lock-free-qpzone-reads-v1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e68dbf19490e5bdc3f7a1587c17429f8e6bac23;p=thirdparty%2Fbind9.git 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 --- 4e68dbf19490e5bdc3f7a1587c17429f8e6bac23