mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-24 23:57:30 -04:00
In query_addbestns, check that both the rdataset and sigrdataset are not
pending before adding them.
This commit is contained in:
parent
5e804988e9
commit
70c2802fd7
1 changed files with 3 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: query.c,v 1.114 2000/07/10 18:33:25 gson Exp $ */
|
||||
/* $Id: query.c,v 1.115 2000/07/18 22:24:45 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -1682,7 +1682,8 @@ query_addbestns(ns_client_t *client) {
|
|||
}
|
||||
|
||||
if ((client->message->flags & DNS_MESSAGEFLAG_CD) == 0 &&
|
||||
rdataset->trust == dns_trust_pending)
|
||||
(rdataset->trust == dns_trust_pending ||
|
||||
sigrdataset->trust == dns_trust_pending))
|
||||
goto cleanup;
|
||||
|
||||
query_addrrset(client, &fname, &rdataset, &sigrdataset, dbuf,
|
||||
|
|
|
|||
Loading…
Reference in a new issue