]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: nil: Silence potential divide by zero warning in qpmulti.c
authorMark Andrews <marka@isc.org>
Mon, 2 Jun 2025 23:40:43 +0000 (23:40 +0000)
committerMark Andrews <marka@isc.org>
Mon, 2 Jun 2025 23:40:43 +0000 (23:40 +0000)
Coverity flagged a potential divide by zero error in collect in
qpmulti.c when the elapsed time is zero but that is only called
once the elapsed time is greater than or equal to RUNTIME (1/4
second) so INSIST this is the case.

Closes #5329

Merge branch '5329-potential-divide-by-zero-in-qpmulti-c' into 'main'

See merge request isc-projects/bind9!10519


Trivial merge