]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix dns_qpmulti_memusage() on empty dns_qpmulti_t instance
authorOndřej Surý <ondrej@isc.org>
Tue, 16 Sep 2025 12:11:08 +0000 (14:11 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 17 Sep 2025 12:01:44 +0000 (14:01 +0200)
commitf65c7b0c0275aa6d8f8dd93ff7ebf3406745f47d
treef099d2a4df4f5353175ff854eccc881184369b15
parent1cbd8b8556b5f00d00e7a4d554af80eb11cbd6e3
Fix dns_qpmulti_memusage() on empty dns_qpmulti_t instance

The dns_qpmulti_memusage() causes assertion failure when called on
freshly created qpmulti instance because the qp->usage hasn't been
allocated yet.

(cherry picked from commit b2f653b3320939cd08e3669e3a618d3224149db7)
lib/dns/qp.c
tests/dns/qpmulti_test.c