diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-03-03 23:07:42 +0530 |
---|---|---|
committer | Pranav Kant <prka@google.com> | 2024-02-02 00:46:11 +0000 |
commit | 82dcfc6d7bdd5b24a42d8180d31ee403999b9215 (patch) | |
tree | ba89f5783300549fcd107e59afaf9cb3efcea127 /sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist | |
parent | be3c0fe888d69cdfda53a8065c5f486d01f7096e (diff) | |
download | glibc-82dcfc6d7bdd5b24a42d8180d31ee403999b9215.zip glibc-82dcfc6d7bdd5b24a42d8180d31ee403999b9215.tar.gz glibc-82dcfc6d7bdd5b24a42d8180d31ee403999b9215.tar.bz2 |
getaddrinfo: Fix leak with AI_ALL [BZ #28852]google/grte/v5-2.27/master
Use realloc in convert_hostent_to_gaih_addrtuple and fix up pointers in
the result list so that a single block is maintained for
hostbyname3_r/hostbyname2_r and freed in gaih_inet. This result is
never merged with any other results, since the hosts database does not
permit merging.
Resolves BZ #28852.
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist')
0 files changed, 0 insertions, 0 deletions