2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

1546. [bug] We were rejecting valid secure CNAME to negative

answers.
reviewed: explorer
This commit is contained in:
Mark Andrews
2004-01-05 05:42:16 +00:00
parent 9991accfe2
commit 9f1bca36e4
2 changed files with 18 additions and 16 deletions

View File

@@ -1,3 +1,6 @@
1546. [bug] We were rejecting valid secure CNAME to negative
answers.
1545. [bug] It was possible to leak memory if named was unable to 1545. [bug] It was possible to leak memory if named was unable to
bind to the specified transfer source and TSIG was bind to the specified transfer source and TSIG was
being used. [RT #10120] being used. [RT #10120]

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: resolver.c,v 1.272 2003/10/26 21:33:47 marka Exp $ */ /* $Id: resolver.c,v 1.273 2004/01/05 05:42:16 marka Exp $ */
#include <config.h> #include <config.h>
@@ -4356,7 +4356,7 @@ answer_response(fetchctx_t *fctx) {
* We could add an "else" clause here and * We could add an "else" clause here and
* log that we're ignoring this rdataset. * log that we're ignoring this rdataset.
*/ */
}
/* /*
* If wanted_chaining is true, we've done * If wanted_chaining is true, we've done
* some chaining as the result of processing * some chaining as the result of processing
@@ -4370,7 +4370,6 @@ answer_response(fetchctx_t *fctx) {
*/ */
if (wanted_chaining) if (wanted_chaining)
chaining = ISC_TRUE; chaining = ISC_TRUE;
}
} else { } else {
/* /*
* Look for a DNAME (or its SIG). Anything else is * Look for a DNAME (or its SIG). Anything else is
@@ -4508,7 +4507,7 @@ answer_response(fetchctx_t *fctx) {
/* /*
* Did chaining end before we got the final answer? * Did chaining end before we got the final answer?
*/ */
if (want_chaining) { if (chaining) {
/* /*
* Yes. This may be a negative reply, so hand off * Yes. This may be a negative reply, so hand off
* authority section processing to the noanswer code. * authority section processing to the noanswer code.