mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
unintialized variables
This commit is contained in:
parent
00a0660f7a
commit
6dc79bfdaf
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue