glibc/sysdeps
Florian Weimer 8b222fa387 getaddrinfo: Fix resource leak after strdup failure in gethosts [BZ #25425]
Filip Ochnik spotted that one of the error jumps in gethosts fails to
call __resolv_context_put to release the resolver context.

Fixes commit 352f4ff9a2 ("resolv:
Introduce struct resolv_context [BZ #21668]") and commit
964263bb8d ("getaddrinfo: Release
resolver context on error in gethosts [BZ #21885]").

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2020-01-20 18:37:13 +01:00
..
aarch64 Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
alpha Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
arm Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
csky Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
generic powerpc: Move cache line size to rtld_global_ro 2020-01-17 09:05:03 -03:00
gnu Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hppa Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
htl htl: Add internal version of __pthread_mutex_timedlock 2020-01-13 20:41:07 +01:00
hurd Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
i386 htl: Add type sizes in bits/pthreadtypes-arch.h and check them 2020-01-13 01:24:43 +01:00
ia64 Linux: Use system call tables during build 2020-01-02 10:18:23 +01:00
ieee754 Fix maybe-uninitialized error on powerpc 2020-01-17 21:02:13 -03:00
init_array Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
m68k Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
mach htl: Add internal version of __pthread_mutex_timedlock 2020-01-13 20:41:07 +01:00
microblaze Linux: Use system call tables during build 2020-01-02 10:18:23 +01:00
mips MIPS: Fix circular definition of __LDBL_MANT_DIG__ in ieee754.h 2020-01-08 14:28:23 -05:00
nios2 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nptl Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
posix getaddrinfo: Fix resource leak after strdup failure in gethosts [BZ #25425] 2020-01-20 18:37:13 +01:00
powerpc powerpc32: Fix syntax error in __GLRO macro 2020-01-18 00:43:12 +01:00
pthread Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
riscv Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
s390 Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
sh Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sparc Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
unix Fix tst-pkey.c pkey_alloc return checks and manual 2020-01-17 09:05:03 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
x86_64 Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00