mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-10 02:01:32 -04:00
2864. [bug] Direct SIG/RRSIG queries were not handled correctly.
[RT #21050]
This commit is contained in:
parent
d24d074ee4
commit
fa2cb8d61d
2 changed files with 7 additions and 3 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
2864. [bug] Direct SIG/RRSIG queries were not handled correctly.
|
||||
[RT #21050]
|
||||
|
||||
2863. [port] linux: disable IPv6 PMTUD and use network minimum MTU.
|
||||
[RT #21056]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: query.c,v 1.336 2009/12/30 08:02:22 jinmei Exp $ */
|
||||
/* $Id: query.c,v 1.337 2010/03/12 01:48:35 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
|
|
@ -4754,11 +4754,12 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
|
|||
if (fname != NULL)
|
||||
dns_message_puttempname(client->message, &fname);
|
||||
|
||||
if (n == 0 && is_zone) {
|
||||
if (n == 0) {
|
||||
/*
|
||||
* We didn't match any rdatasets.
|
||||
*/
|
||||
if (qtype == dns_rdatatype_rrsig &&
|
||||
if ((qtype == dns_rdatatype_rrsig ||
|
||||
qtype == dns_rdatatype_sig) &&
|
||||
result == ISC_R_NOMORE) {
|
||||
/*
|
||||
* XXXRTH If this is a secure zone and we
|
||||
|
|
|
|||
Loading…
Reference in a new issue