mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-11 13:15:26 -04:00
The function had a single caller, the HTTP/2 request-path handling in
the network manager, and its semantics (strlen() of the source clamped
to the requested size) amounted to an obscured bounded string copy.
Replace the only use with a plain allocation and strlcpy(), and drop the
function.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| http.c | ||
| netmgr-int.h | ||
| netmgr.c | ||
| proxystream.c | ||
| proxyudp.c | ||
| socket.c | ||
| streamdns.c | ||
| tcp.c | ||
| timer.c | ||
| tlsstream.c | ||
| udp.c | ||