Skip to content

Resolve "use-after-free in dighost.c/dig.c"

Arаm Sаrgsyаn requested to merge 3244-dig-use-after-free into main

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

Merge request reports