772. [bug] Owner names could be incorrectly omitted from cache

dumps in the presence of negative caching entries.
                        [RT #991]
This commit is contained in:
Andreas Gustafsson 2001-03-07 22:30:21 +00:00
parent c434887bd5
commit 123a3dddc9
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
772. [bug] Owner names could be incorrectly omitted from cache
dumps in the presence of negative caching entries.
[RT #991]
771. [cleanup] TSIG errors related to unsynchronized clocks
are logged better.

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.c,v 1.44 2001/01/16 21:18:10 gson Exp $ */
/* $Id: masterdump.c,v 1.45 2001/03/07 22:30:21 gson Exp $ */
#include <config.h>
@ -737,10 +737,10 @@ dump_rdatasets(isc_mem_t *mctx, dns_name_t *name, dns_rdatasetiter_t *rdsiter,
buffer, f);
if (result != ISC_R_SUCCESS)
dumpresult = result;
if ((ctx->style.flags & DNS_STYLEFLAG_OMIT_OWNER) != 0)
name = NULL;
}
dns_rdataset_disassociate(sorted[i]);
if ((ctx->style.flags & DNS_STYLEFLAG_OMIT_OWNER) != 0)
name = NULL;
}
if (dumpresult != ISC_R_SUCCESS)