]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3868. [bug] isc_mem_setwater incorrectly cleared hi_called
authorMark Andrews <marka@isc.org>
Mon, 2 Jun 2014 06:31:42 +0000 (16:31 +1000)
committerMark Andrews <marka@isc.org>
Mon, 2 Jun 2014 06:31:42 +0000 (16:31 +1000)
                        potentially leaving over memory cleaner running.
                        [RT #35270]

CHANGES
lib/isc/mem.c

diff --git a/CHANGES b/CHANGES
index 048da3a3c7e3a776816d75b9ad35e84060bcc319..d5718500ff6870ddfb170c4a4772ae3bcffe506f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+3868.  [bug]           isc_mem_setwater incorrectly cleared hi_called
+                       potentially leaving over memory cleaner running.
+                       [RT #35270]
+
 3867.  [func]          "rndc nta" can now be used to set a temporary
                        negative trust anchor, which disables DNSSEC
                        validation below a specified name for a specified
index 93e2c2c9b90cfc86d85b0f293088a492b7281cb4..46df64f4efe302cb5eb59099c7d1ea17e20b4d3b 100644 (file)
@@ -1785,7 +1785,6 @@ isc__mem_setwater(isc_mem_t *ctx0, isc_mem_water_t water, void *water_arg,
                ctx->water_arg = water_arg;
                ctx->hi_water = hiwater;
                ctx->lo_water = lowater;
-               ctx->hi_called = ISC_FALSE;
        }
        MCTXUNLOCK(ctx, &ctx->lock);