2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

unintialized variables

This commit is contained in:
Andreas Gustafsson 1999-08-02 05:54:10 +00:00
parent 00a0660f7a
commit 6dc79bfdaf

View File

@ -172,6 +172,7 @@ find(ns_client_t *client, dns_rdatatype_t type) {
else
return (ISC_R_SUCCESS);
}
isc_buffer_available(&dbuf->buffer, &r);
isc_buffer_init(&b, r.base, r.length, ISC_BUFFERTYPE_BINARY);
fname = NULL;
result = dns_message_gettempname(client->message, &fname);
@ -286,6 +287,7 @@ find(ns_client_t *client, dns_rdatatype_t type) {
while (result == ISC_R_SUCCESS) {
dns_rdatasetiter_current(rdsiter, rdataset);
ISC_LIST_APPEND(fname->list, rdataset, link);
rdataset = NULL;
result = dns_message_gettemprdataset(
client->message,
&rdataset);