mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
321. [bug] When synthesizing a CNAME RR for a DNAME
response, query_addcname() failed to intitialize the type and class of the CNAME dns_rdata_t, causing random failures.
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,3 +1,8 @@
|
|||||||
|
321. [bug] When synthesizing a CNAME RR for a DNAME
|
||||||
|
response, query_addcname() failed to intitialize
|
||||||
|
the type and class of the CNAME dns_rdata_t,
|
||||||
|
causing random failures.
|
||||||
|
|
||||||
320. [func] Multiple rndc changes: parses an rndc.conf file,
|
320. [func] Multiple rndc changes: parses an rndc.conf file,
|
||||||
uses authentication to talk to named, command
|
uses authentication to talk to named, command
|
||||||
line syntax changed. This will all be described
|
line syntax changed. This will all be described
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: query.c,v 1.113 2000/07/06 02:27:26 bwelling Exp $ */
|
/* $Id: query.c,v 1.114 2000/07/10 18:33:25 gson Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -1548,6 +1548,8 @@ query_addcname(ns_client_t *client, dns_name_t *qname, dns_name_t *tname,
|
|||||||
dns_name_toregion(tname, &r);
|
dns_name_toregion(tname, &r);
|
||||||
rdata->data = r.base;
|
rdata->data = r.base;
|
||||||
rdata->length = r.length;
|
rdata->length = r.length;
|
||||||
|
rdata->rdclass = client->message->rdclass;
|
||||||
|
rdata->type = dns_rdatatype_cname;
|
||||||
|
|
||||||
ISC_LIST_INIT(rdatalist->rdata);
|
ISC_LIST_INIT(rdatalist->rdata);
|
||||||
ISC_LIST_APPEND(rdatalist->rdata, rdata, link);
|
ISC_LIST_APPEND(rdatalist->rdata, rdata, link);
|
||||||
|
Reference in New Issue
Block a user