Fix using unset pointer when printing a debug message in dighost.c

The used `query->handle` is always `NULL` at this point.

Change the code to use `handle` instead.
This commit is contained in:
Aram Sargsyan
2022-03-31 22:00:21 +00:00
parent 2771a5b64d
commit 5b2b3e589c

View File

@@ -3135,7 +3135,7 @@ udp_ready(isc_nmhandle_t *handle, isc_result_t eresult, void *arg) {
query_attach(query, &readquery);
debug("recving with lookup=%p, query=%p, handle=%p", query->lookup,
query, query->handle);
query, handle);
query->handle = handle;
isc_nmhandle_attach(handle, &query->readhandle);