]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Fix a bug in qpzone.c:first_existing_header_indirect()
authorArаm Sаrgsyаn <aram@isc.org>
Wed, 21 Jan 2026 10:47:31 +0000 (10:47 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 21 Jan 2026 10:47:31 +0000 (10:47 +0000)
There is a bug in qpzone.c:first_existing_header_indirect() where
it does not advance the pointer in the FOREACH type loop.

Remove the static function altogether, as it was used only once and
had some other problems too, and use simpler custom code instead in
the place where it was used.

Closes #5691

Merge branch '5691-qpzone.c-first_existing_header_indirect-fix' into 'main'

See merge request isc-projects/bind9!11460


Trivial merge