mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
2421. [bug] Handle the special return value of a empty node as
if it was a NXRRSET in the validator. [RT #18447]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
2421. [bug] Handle the special return value of a empty node as
|
||||||
|
if it was a NXRRSET in the validator. [RT #18447]
|
||||||
|
|
||||||
2420. [func] Add new command line option '-S' for named to specify
|
2420. [func] Add new command line option '-S' for named to specify
|
||||||
the max number of sockets. [RT #18493]
|
the max number of sockets. [RT #18493]
|
||||||
Use caution: this option may not work for some
|
Use caution: this option may not work for some
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: validator.c,v 1.160 2008/02/19 17:07:55 each Exp $ */
|
/* $Id: validator.c,v 1.161 2008/08/21 04:43:49 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -939,6 +939,7 @@ view_find(dns_validator_t *val, dns_name_t *name, dns_rdatatype_t type) {
|
|||||||
} else if (result != ISC_R_SUCCESS &&
|
} else if (result != ISC_R_SUCCESS &&
|
||||||
result != DNS_R_NCACHENXDOMAIN &&
|
result != DNS_R_NCACHENXDOMAIN &&
|
||||||
result != DNS_R_NCACHENXRRSET &&
|
result != DNS_R_NCACHENXRRSET &&
|
||||||
|
result != DNS_R_EMPTYNAME &&
|
||||||
result != DNS_R_NXRRSET &&
|
result != DNS_R_NXRRSET &&
|
||||||
result != ISC_R_NOTFOUND) {
|
result != ISC_R_NOTFOUND) {
|
||||||
goto notfound;
|
goto notfound;
|
||||||
@@ -1196,6 +1197,7 @@ get_key(dns_validator_t *val, dns_rdata_rrsig_t *siginfo) {
|
|||||||
return (DNS_R_WAIT);
|
return (DNS_R_WAIT);
|
||||||
} else if (result == DNS_R_NCACHENXDOMAIN ||
|
} else if (result == DNS_R_NCACHENXDOMAIN ||
|
||||||
result == DNS_R_NCACHENXRRSET ||
|
result == DNS_R_NCACHENXRRSET ||
|
||||||
|
result == DNS_R_EMPTYNAME ||
|
||||||
result == DNS_R_NXDOMAIN ||
|
result == DNS_R_NXDOMAIN ||
|
||||||
result == DNS_R_NXRRSET)
|
result == DNS_R_NXRRSET)
|
||||||
{
|
{
|
||||||
@@ -1803,8 +1805,9 @@ validatezonekey(dns_validator_t *val) {
|
|||||||
if (result != ISC_R_SUCCESS)
|
if (result != ISC_R_SUCCESS)
|
||||||
return (result);
|
return (result);
|
||||||
return (DNS_R_WAIT);
|
return (DNS_R_WAIT);
|
||||||
} else if (result == DNS_R_NCACHENXDOMAIN ||
|
} else if (result == DNS_R_NCACHENXDOMAIN ||
|
||||||
result == DNS_R_NCACHENXRRSET ||
|
result == DNS_R_NCACHENXRRSET ||
|
||||||
|
result == DNS_R_EMPTYNAME ||
|
||||||
result == DNS_R_NXDOMAIN ||
|
result == DNS_R_NXDOMAIN ||
|
||||||
result == DNS_R_NXRRSET)
|
result == DNS_R_NXRRSET)
|
||||||
{
|
{
|
||||||
@@ -2462,6 +2465,7 @@ finddlvsep(dns_validator_t *val, isc_boolean_t resume) {
|
|||||||
}
|
}
|
||||||
if (result != DNS_R_NXRRSET &&
|
if (result != DNS_R_NXRRSET &&
|
||||||
result != DNS_R_NXDOMAIN &&
|
result != DNS_R_NXDOMAIN &&
|
||||||
|
result != DNS_R_EMPTYNAME &&
|
||||||
result != DNS_R_NCACHENXRRSET &&
|
result != DNS_R_NCACHENXRRSET &&
|
||||||
result != DNS_R_NCACHENXDOMAIN)
|
result != DNS_R_NCACHENXDOMAIN)
|
||||||
return (result);
|
return (result);
|
||||||
|
Reference in New Issue
Block a user