2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

294. [bug] If we run out of space in while processing glue

when reading a master file and commit "current name"
			reverts to "name_current" instead of staying as
			"name_glue".
This commit is contained in:
Mark Andrews
2000-06-29 15:55:19 +00:00
parent 323b6387ce
commit b74e73c5b4
2 changed files with 9 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: master.c,v 1.54 2000/06/07 03:30:00 marka Exp $ */
/* $Id: master.c,v 1.55 2000/06/29 15:55:19 marka Exp $ */
#include <config.h>
@@ -788,12 +788,10 @@ load(isc_lex_t *lex, dns_name_t *top, dns_name_t *origin,
goto cleanup;
rdcount = 0;
rdlcount = 0;
if (glue_in_use != -1)
name_in_use[glue_in_use] = ISC_FALSE;
glue_in_use = -1;
in_glue = ISC_FALSE;
current_has_delegation = ISC_FALSE;
isc_buffer_init(&target, target_mem, target_size);
rdcount_save = rdcount;
rdlcount_save = rdlcount;
target_save = target;
}
} while (!done);
/*