-Fix review comment for use-after-free when failing to send UDP out.

This commit is contained in:
George Thessalonikefs 2022-01-31 11:27:35 +01:00
parent 888eb224a6
commit a60bbd12ed
2 changed files with 5 additions and 1 deletions

View file

@ -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 29 January 2022: George
- Fix tls-* and ssl-* documented alternate syntax to also be available - Fix tls-* and ssl-* documented alternate syntax to also be available
through remote-control and unbound-checkconf. through remote-control and unbound-checkconf.

View file

@ -1384,8 +1384,9 @@ outnet_send_wait_udp(struct outside_network* outnet)
NETEVENT_CLOSED, NULL); NETEVENT_CLOSED, NULL);
} }
pending_delete(outnet, pend); pending_delete(outnet, pend);
} else {
pend->sq->busy = 0;
} }
pend->sq->busy = 0;
} }
} }