diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-03-03 23:07:42 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2022-03-22 19:39:14 +0530 |
commit | 300460460706ce3ffe29a7df8966e68323ec5bf1 (patch) | |
tree | d91ecb0adde54bb3e1ab8e2fab130ed19d0014e8 /scripts | |
parent | d01411f6bc61429fc027c38827bf3103b48eef2e (diff) | |
download | glibc-300460460706ce3ffe29a7df8966e68323ec5bf1.zip glibc-300460460706ce3ffe29a7df8966e68323ec5bf1.tar.gz glibc-300460460706ce3ffe29a7df8966e68323ec5bf1.tar.bz2 |
getaddrinfo: Fix leak with AI_ALL [BZ #28852]
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 'scripts')
0 files changed, 0 insertions, 0 deletions