bind9/lib/isc/netmgr
Aydın Mercan 637a127f65
Fix use-after-free in DoH write buffer after HTTP/2 send
After the send callback completes, the UV request is freed but
the HTTP/2 socket's write buffer still points to the freed memory.
If nghttp2 subsequently needs to send frames (e.g. SETTINGS ACK),
the server_read_callback reads from the dangling buffer.

Clear the write buffer before freeing the UV request.

(cherry picked from commit 6afc4270e0323a52262802d553dda8233df36d42)
2026-05-07 13:09:18 +02:00
..
http.c Fix use-after-free in DoH write buffer after HTTP/2 send 2026-05-07 13:09:18 +02:00
netmgr-int.h Implement IP_LOCAL_PORT_RANGE socket option for Linux 2026-02-20 17:02:45 +01:00
netmgr.c Rename isc_net_getudpportrange() to isc_net_getportrange() 2026-02-20 17:02:45 +01:00
proxystream.c Do not stop timer in isc_nm_read_stop() in manual timer mode 2025-01-15 16:05:56 +01:00
proxyudp.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
socket.c Implement IP_LOCAL_PORT_RANGE socket option for Linux 2026-02-20 17:02:45 +01:00
streamdns.c attach socket before async streamdns_resume_processing 2025-11-20 17:55:00 +00:00
tcp.c Implement IP_LOCAL_PORT_RANGE socket option for Linux 2026-02-20 17:02:45 +01:00
timer.c Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
tlsstream.c Fix missing server socket detach in TLS accept error path 2026-03-16 11:05:03 +01:00
udp.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00