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:
parent
00a0660f7a
commit
6dc79bfdaf
@ -172,6 +172,7 @@ find(ns_client_t *client, dns_rdatatype_t type) {
|
|||||||
else
|
else
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
|
isc_buffer_available(&dbuf->buffer, &r);
|
||||||
isc_buffer_init(&b, r.base, r.length, ISC_BUFFERTYPE_BINARY);
|
isc_buffer_init(&b, r.base, r.length, ISC_BUFFERTYPE_BINARY);
|
||||||
fname = NULL;
|
fname = NULL;
|
||||||
result = dns_message_gettempname(client->message, &fname);
|
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) {
|
while (result == ISC_R_SUCCESS) {
|
||||||
dns_rdatasetiter_current(rdsiter, rdataset);
|
dns_rdatasetiter_current(rdsiter, rdataset);
|
||||||
ISC_LIST_APPEND(fname->list, rdataset, link);
|
ISC_LIST_APPEND(fname->list, rdataset, link);
|
||||||
|
rdataset = NULL;
|
||||||
result = dns_message_gettemprdataset(
|
result = dns_message_gettemprdataset(
|
||||||
client->message,
|
client->message,
|
||||||
&rdataset);
|
&rdataset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user