2
0
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:
Bob Halley 1999-01-09 00:41:55 +00:00
parent 514a93f41f
commit e5a56e1fd5

View File

@ -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);