mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 12:13:20 -04:00
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.
(cherry picked from commit 5b2b3e589c)
This commit is contained in:
parent
927f00e15d
commit
bf9bec6f91
1 changed files with 1 additions and 1 deletions
|
|
@ -2956,7 +2956,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue