]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Fri, 15 Jun 2001 16:52:42 +0000 (16:52 +0000)
committerAndreas Gustafsson <source@isc.org>
Fri, 15 Jun 2001 16:52:42 +0000 (16:52 +0000)
 904.   [bug]           The server would leak memory if attempting to use
                        an expired TSIG key. [RT #1406]

CHANGES
lib/dns/tsig.c

diff --git a/CHANGES b/CHANGES
index 16a0a1546f98b19f24676c8f7ef088f49f6f9a34..b9a750e055bf00cd33e06dfab76c2d8555fae9f3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
 
+ 904.  [bug]           The server would leak memory if attempting to use
+                       an expired TSIG key. [RT #1406]
+
  903.  [bug]           dig should not crash when receiving a TCP packet
                        of length 0.
 
index beeb3c316cc7f36ea2f708d53dbf34cad5423069..909879109c7255e046bb9a3d1b5b842b8d006a67 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: tsig.c,v 1.98.4.6 2001/05/18 21:28:41 gson Exp $
+ * $Id: tsig.c,v 1.98.4.7 2001/06/15 16:52:42 gson Exp $
  * Principal Author: Brian Wellington
  */
 
@@ -1141,7 +1141,6 @@ dns_tsigkey_find(dns_tsigkey_t **tsigkey, dns_name_t *name,
                 */
                RWUNLOCK(&ring->lock, isc_rwlocktype_read);
                LOCK(&key->lock);
-               key->refs--;
                UNLOCK(&key->lock);
                RWLOCK(&ring->lock, isc_rwlocktype_write);
                (void) dns_rbt_deletename(ring->keys, name, ISC_FALSE);