diff --git a/doc/Changelog b/doc/Changelog index 9b9dd0557..534987789 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +31 January 2022: George + - Fix review comment for use-after-free when failing to send UDP out. + 29 January 2022: George - Fix tls-* and ssl-* documented alternate syntax to also be available through remote-control and unbound-checkconf. diff --git a/services/outside_network.c b/services/outside_network.c index 651f221fd..eff7758c4 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -1384,8 +1384,9 @@ outnet_send_wait_udp(struct outside_network* outnet) NETEVENT_CLOSED, NULL); } pending_delete(outnet, pend); + } else { + pend->sq->busy = 0; } - pend->sq->busy = 0; } }