mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 15:51:07 +00:00
bd77dd7e73
Without passing alt_dns_packet_buffer, __res_context_search can only
store 2048 bytes (what fits into dns_packet_buffer). However,
the function returns the total packet size, and the subsequent
DNS parsing code in _nss_dns_gethostbyname4_r reads beyond the end
of the stack-allocated buffer.
Fixes commit
|
||
---|---|---|
.. | ||
dns-canon.c | ||
dns-host.c | ||
dns-network.c |