mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-28 01:28:05 -04:00
must init name now
This commit is contained in:
parent
514a93f41f
commit
e5a56e1fd5
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ getname(isc_buffer_t *source) {
|
|||
|
||||
isc_buffer_init(&target, t, 255, ISC_BUFFERTYPE_BINARY);
|
||||
isc_buffer_init(&text, c, 255, ISC_BUFFERTYPE_TEXT);
|
||||
dns_name_init(&name, NULL);
|
||||
|
||||
current = source->current;
|
||||
result = dns_name_fromwire(&name, source, &dctx, ISC_FALSE, &target);
|
||||
|
|
|
|||
Loading…
Reference in a new issue