mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Clone the saved / query message buffers
The message buffer passed to ns__client_request is only valid for the life of the the ns__client_request call. Save a copy of it when we recurse or process a update as ns__client_request will return before those operations complete.
This commit is contained in:
@@ -1666,6 +1666,7 @@ ns_update_start(ns_client_t *client, isc_nmhandle_t *handle,
|
||||
if (sigresult != ISC_R_SUCCESS) {
|
||||
FAIL(sigresult);
|
||||
}
|
||||
dns_message_clonebuffer(client->message);
|
||||
CHECK(send_update_event(client, zone));
|
||||
break;
|
||||
case dns_zone_slave:
|
||||
|
Reference in New Issue
Block a user