2853. [bug] add_sigs() could run out of scratch space. [RT #21015]

This commit is contained in:
Mark Andrews
2010-02-26 01:52:05 +00:00
parent c717c61ab0
commit 5eee3743e2
3 changed files with 6 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
2853. [bug] add_sigs() could run out of scratch space. [RT #21015]
2852. [bug] Handle broken DNSSEC trust chains better. [RT #15619]
2851. [doc] nslookup.1, removed <informalexample> from the docbook
+2 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: update.c,v 1.151.12.9 2009/12/30 04:02:56 marka Exp $ */
/* $Id: update.c,v 1.151.12.10 2010/02/26 01:52:05 marka Exp $ */
#include <config.h>
@@ -1945,6 +1945,7 @@ add_sigs(ns_client_t *client, dns_zone_t *zone, dns_db_t *db,
CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_ADDRESIGN, name,
rdataset.ttl, &sig_rdata));
dns_rdata_reset(&sig_rdata);
isc_buffer_init(&buffer, data, sizeof(data));
added_sig = ISC_TRUE;
}
if (!added_sig) {
+2 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.483.36.17 2009/12/21 04:32:42 marka Exp $ */
/* $Id: zone.c,v 1.483.36.18 2010/02/26 01:52:05 marka Exp $ */
/*! \file */
@@ -3877,6 +3877,7 @@ add_sigs(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
CHECK(update_one_rr(db, ver, diff, DNS_DIFFOP_ADDRESIGN,
name, rdataset.ttl, &sig_rdata));
dns_rdata_reset(&sig_rdata);
isc_buffer_init(&buffer, data, sizeof(data));
}
failure: