]> git.ipfire.org Git - thirdparty/bind9.git/commit
Assert if statistics counter underflows in the developer mode
authorOndřej Surý <ondrej@isc.org>
Mon, 17 Jan 2022 11:39:56 +0000 (12:39 +0100)
committerPetr Špaček <pspacek@isc.org>
Thu, 10 Feb 2022 16:18:09 +0000 (17:18 +0100)
commit0893b5fb79cef78ac10d25326f85220a86311edf
tree2902a2d0920a5be52724f9de8d8d4a5753138727
parent89935864e9b4577e0d8ad27fed6802495ca56dd9
Assert if statistics counter underflows in the developer mode

There are reported occurences where the statitic counters underflows and
starts reporting non-sense.

Add a check for the underflow, when ``named`` is compiled in the
developer mode.
configure.ac
lib/isc/stats.c