diff options
author | Alexey Izbyshev <izbyshev@ispras.ru> | 2023-05-08 19:03:46 +0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-02-29 10:14:16 -0500 |
commit | 5c653ccaa1383db0c310abf66d5b6806e83ac18f (patch) | |
tree | 8c5d33b578c0baa2aad021f8b178d3dd31d3e61d /include/sys/procfs.h | |
parent | d3a61059c04bd82329707324fac0d48e191edbf4 (diff) | |
download | musl-5c653ccaa1383db0c310abf66d5b6806e83ac18f.tar.gz |
getnameinfo: fix calling __dns_parse with potentially too large rlen
__res_send returns the full answer length even if it didn't fit the
buffer, but __dns_parse expects the length of the filled part of the
buffer.
This is analogous to commit 77327ed064bd57b0e1865cd0e0364057ff4a53b4,
which fixed the only other __dns_parse call site.
Diffstat (limited to 'include/sys/procfs.h')
0 files changed, 0 insertions, 0 deletions