1373. [bug] Recovery from expired glue failed under certian

circumstances.
This commit is contained in:
Mark Andrews 2002-09-10 00:53:31 +00:00
parent e3239b40d2
commit f411c2e81c
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,6 @@
1373. [bug] Recovery from expired glue failed under certian
circumstances.
1372. [bug] named crashes with an assertion failure on exit when
sharing the same port for listening and querying, and
changing listening addresses several times. [RT# 3509]

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: resolver.c,v 1.250 2002/09/09 02:54:18 marka Exp $ */
/* $Id: resolver.c,v 1.251 2002/09/10 00:53:30 marka Exp $ */
#include <config.h>
@ -4646,6 +4646,7 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
}
if (get_nameservers) {
dns_name_t *name;
dns_fixedname_init(&foundname);
fname = dns_fixedname_name(&foundname);
if (result != ISC_R_SUCCESS) {
@ -4653,9 +4654,12 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
return;
}
findoptions = 0;
if ((options & DNS_FETCHOPT_UNSHARED) == 0)
name = &fctx->name;
else
name = &fctx->domain;
result = dns_view_findzonecut(fctx->res->view,
&fctx->name,
fname,
name, fname,
now, 0, ISC_TRUE,
&fctx->nameservers,
NULL);