mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
must init name now
This commit is contained in:
parent
514a93f41f
commit
e5a56e1fd5
@ -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…
x
Reference in New Issue
Block a user