+4410. [bug] Address use after free and memory leak with dnstap.
+ [RT #42746]
+
4409. [bug] DNS64 should exclude mapped addresses by default when
an exclude acl is not defined. [RT #42810]
isc_buffer_putuint16(&tcpbuffer, (isc_uint16_t) r.length);
isc_buffer_add(&tcpbuffer, r.length);
- /* don't count the 2-octet length header */
- respsize = isc_buffer_usedlength(&tcpbuffer) - 2;
- result = client_sendpkg(client, &tcpbuffer);
-
#ifdef HAVE_DNSTAP
if (client->view != NULL) {
dns_dt_send(client->view, dtmsgtype,
}
#endif /* HAVE_DNSTAP */
+ /* don't count the 2-octet length header */
+ respsize = isc_buffer_usedlength(&tcpbuffer) - 2;
+ result = client_sendpkg(client, &tcpbuffer);
switch (isc_sockaddr_pf(&client->peeraddr)) {
case AF_INET:
if (fopt != NULL)
fstrm_iothr_options_destroy(&fopt);
+ if (ffwopt != NULL)
+ fstrm_file_options_destroy(&ffwopt);
+
if (fuwopt != NULL)
fstrm_unix_writer_options_destroy(&fuwopt);
return (ISC_R_SUCCESS);
}
-
-
return (result);
}
if (pack_dt(&dm.d, &dm.buf, &dm.len) == ISC_R_SUCCESS)
send_dt(view->dtenv, dm.buf, dm.len);
-
- return;
}
void