mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Don't pass edectx from fetch_and_forget
Pass NULL as edectx for the fetch_and_forget() fetches as nobody is reading the EDE contexts and it can mess the main client buffer.
This commit is contained in:
@@ -2804,8 +2804,8 @@ fetch_and_forget(ns_client_t *client, dns_name_t *qname, dns_rdatatype_t qtype,
|
|||||||
result = dns_resolver_createfetch(
|
result = dns_resolver_createfetch(
|
||||||
client->view->resolver, qname, qtype, NULL, NULL, NULL,
|
client->view->resolver, qname, qtype, NULL, NULL, NULL,
|
||||||
peeraddr, client->message->id, options, 0, NULL,
|
peeraddr, client->message->id, options, 0, NULL,
|
||||||
client->query.qc, client->manager->loop, cb, client,
|
client->query.qc, client->manager->loop, cb, client, NULL,
|
||||||
&client->edectx, tmprdataset, NULL, fetchp);
|
tmprdataset, NULL, fetchp);
|
||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS) {
|
||||||
ns_client_putrdataset(client, &tmprdataset);
|
ns_client_putrdataset(client, &tmprdataset);
|
||||||
isc_nmhandle_detach(handlep);
|
isc_nmhandle_detach(handlep);
|
||||||
|
Reference in New Issue
Block a user