]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add changelog entry for last-minute regression fix
authorPetr Špaček <pspacek@isc.org>
Tue, 13 Aug 2024 14:26:55 +0000 (16:26 +0200)
committerPetr Špaček <pspacek@isc.org>
Tue, 13 Aug 2024 14:27:17 +0000 (16:27 +0200)
doc/arm/changelog.rst

index eec1a0db6ae44a354f7c5d9929a5ee6f82ede235..9aedad8940d78a1ac44704eb3d63dd64c4673272 100644 (file)
@@ -255,6 +255,15 @@ Bug Fixes
   disabled, but for individual names we need to do the accounting even
   if we are forcing the result to be success. :gl:`#4786` :gl:`!9115`
 
+- Don't skip the counting if fcount_incr() is called with force==true
+  (v2) ``8b70722fcb``
+
+  The fcount_incr() was not increasing counter->count when force was set
+  to true, but fcount_decr() would try to decrease the counter leading
+  to underflow and assertion failure.  Swap the order of the arguments
+  in the condition, so the !force is evaluated after incrementing the
+  .count. :gl:`#4846` :gl:`!9298`
+
 - Remove superfluous memset() in isc_nmsocket_init() ``4c363393ff1``
 
   The tlsstream part of the isc_nmsocket_t gets initialized via