Resolve "use-after-free in dighost.c/dig.c"
When using +qr
in dig
print the data of the current query.
The send_udp()
function always prints the data of the first query
in the lookup's queries list.
The first query in the list can be already finished, having its handles freed, and accessing this information results in assertion failure.
Print the current query's information instead.
Closes #3244 (closed)
Edited by Arаm Sаrgsyаn