mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-26 11:22:52 -04:00
Call to `streamdns_resume_processing` is asynchronous but the socket passed as argument is not attached when scheduling the call. While there is no reproducible way (so far) to make the socket reference number down to 0 before `streamdns_resume_processing` is called, attach the socket before scheduling the call. This guard against an hypothetic case where, for some reasons, the socket refcount would reach 0, and be freed from memory when `streamdns_resume_processing` is called. |
||
|---|---|---|
| .. | ||
| http.c | ||
| meson.build | ||
| netmgr-int.h | ||
| netmgr.c | ||
| proxystream.c | ||
| proxyudp.c | ||
| socket.c | ||
| streamdns.c | ||
| tcp.c | ||
| timer.c | ||
| tlsstream.c | ||
| udp.c | ||