]> 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>
Tue, 16 Sep 2025 14:30:15 +0000 (16:30 +0200)
commitb2f653b3320939cd08e3669e3a618d3224149db7
tree12549358ca2d4650352b3b5779529083800e110d
parent722ce92f107db136cf0dad863846175ddbf6701f
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.
lib/dns/qp.c
tests/dns/qpmulti_test.c