2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

1045. [bug] It was possible to skip saving glue for a nameserver

for a stub zone.
This commit is contained in:
Mark Andrews 2001-10-11 06:12:42 +00:00
parent e17f6f7ab6
commit ada9b8ab20
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,6 @@
1045. [bug] It was possible to skip saving glue for a nameserver
for a stub zone.
1044. [bug] Specifying allow-transfer, notify-source or
notify-source-v6 in a stub zone was not treated as
a error.

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.347 2001/09/17 14:04:32 marka Exp $ */
/* $Id: zone.c,v 1.348 2001/10/11 06:12:42 marka Exp $ */
#include <config.h>
@ -2956,10 +2956,8 @@ save_nsrrset(dns_message_t *message, dns_name_t *name,
result = dns_rdata_tostruct(&rdata, &ns, NULL);
dns_rdata_reset(&rdata);
RUNTIME_CHECK(result == ISC_R_SUCCESS);
if (!dns_name_issubdomain(&ns.name, name)) {
result = dns_rdataset_next(nsrdataset);
if (!dns_name_issubdomain(&ns.name, name))
continue;
}
rdataset = NULL;
result = dns_message_findname(message, DNS_SECTION_ADDITIONAL,
&ns.name, dns_rdatatype_a6,