bind9/lib/isc/netmgr
Ondřej Surý 8e240bbb5f Fix isc_buffer_init capacity mismatch in DoH data chunk callback
isc_buffer_init() is given MAX_DNS_MESSAGE_SIZE (65535) as capacity but
only h2->content_length bytes are allocated.  This makes the buffer
believe it has more space than actually allocated.  A secondary bounds
check (new_bufsize <= h2->content_length) prevents actual overflow, but
the buffer invariant is violated.

Pass h2->content_length as the capacity to match the allocation.
2026-03-18 11:39:01 +01:00
..
http.c Fix isc_buffer_init capacity mismatch in DoH data chunk callback 2026-03-18 11:39:01 +01:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00
netmgr-int.h Implement IP_LOCAL_PORT_RANGE socket option for Linux 2026-02-20 14:06:23 +01:00
netmgr.c Rename isc_net_getudpportrange() to isc_net_getportrange() 2026-02-20 14:06:23 +01:00
proxystream.c Refactor the network manager to be a singleton 2025-07-23 22:45:38 +02:00
proxyudp.c Refactor the network manager to be a singleton 2025-07-23 22:45:38 +02:00
socket.c Implement IP_LOCAL_PORT_RANGE socket option for Linux 2026-02-20 14:06:23 +01:00
streamdns.c attach socket before async streamdns_resume_processing 2025-11-20 18:08:52 +01:00
tcp.c Implement IP_LOCAL_PORT_RANGE socket option for Linux 2026-02-20 14:06:23 +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-14 13:58:32 +01:00
udp.c switch to RETERR where it wasn't being used 2025-12-03 13:45:43 -08:00