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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user