Commit b393e55a authored by Francis Dupont's avatar Francis Dupont
Browse files

bug in dns_nsec_typepresent() - 19112

parent 41329de6
2523. [bug] Random type rdata freed by dns_nsec_typepresent().
[RT #19112]
2522. [placeholder]
2521. [bug] Improve epoll cross compilation support. [RT #19047]
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nsec.c,v 1.11 2008/09/25 04:02:38 tbox Exp $ */
/* $Id: nsec.c,v 1.12 2009/01/06 09:06:02 fdupont Exp $ */
/*! \file */
......@@ -220,7 +220,7 @@ dns_nsec_typepresent(dns_rdata_t *nsec, dns_rdatatype_t type) {
type % 256));
break;
}
dns_rdata_freestruct(&nsec);
dns_rdata_freestruct(&nsecstruct);
return (present);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment