]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
bug in dns_nsec_typepresent() - 19112
authorFrancis Dupont <fdupont@isc.org>
Tue, 6 Jan 2009 09:01:49 +0000 (09:01 +0000)
committerFrancis Dupont <fdupont@isc.org>
Tue, 6 Jan 2009 09:01:49 +0000 (09:01 +0000)
CHANGES
lib/dns/nsec.c

diff --git a/CHANGES b/CHANGES
index 64b4a29f7b0da5a36ea0848e0e874260740f6b6b..86b85a123322aaa069b279774a13069278080f3a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2523.  [bug]           Random type rdata freed by dns_nsec_typepresent().
+                       [RT #19112]
+
 2521.  [bug]           Improve epoll cross compilation support. [RT #19047]
 
 2519.  [bug]           dig/host with -4 or -6 didn't work if more than two
index c1de67ed28eb7b102666d8e7a99b8d7b7c8064bb..2353615b0b61bcf8384d47ada9210f4392ae2479 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsec.c,v 1.5.20.2 2005/04/29 00:15:59 marka Exp $ */
+/* $Id: nsec.c,v 1.5.20.3 2009/01/06 09:01:49 fdupont Exp $ */
 
 /*! \file */
 
@@ -215,6 +215,6 @@ dns_nsec_typepresent(dns_rdata_t *nsec, dns_rdatatype_t type) {
                                                   type % 256));
                break;
        }
-       dns_rdata_freestruct(&nsec);
+       dns_rdata_freestruct(&nsecstruct);
        return (present);
 }