]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.20] fix: nil: Silence potential divide by zero warning in qpmulti.c
authorMark Andrews <marka@isc.org>
Tue, 3 Jun 2025 00:26:43 +0000 (00:26 +0000)
committerMark Andrews <marka@isc.org>
Tue, 3 Jun 2025 00:26:43 +0000 (00:26 +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

Backport of MR !10519

Merge branch 'backport-5329-potential-divide-by-zero-in-qpmulti-c-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10545


Trivial merge