glibc/nss
Florian Weimer 61bac1a9d2 nss: Remove unused allocation from get_nscd_addresses in getaddrinfo
No bug because this is not visible if glibc is built with
optimization.  Otherwise this would be a critical resource leak.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2023-12-20 16:14:33 +01:00
..
nss_compat Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
nss_db Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
nss_files Restore lookup of IPv4 mapped addresses in files database (bug 25457) 2023-07-24 13:16:24 +02:00
tst-initgroups1.root/etc Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
tst-initgroups2.root/etc Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
tst-nss-compat1.root
tst-nss-db-endgrent.root/etc
tst-nss-db-endpwent.root
tst-nss-files-hosts-long.root/etc
tst-nss-files-hosts-v4mapped.root/etc Restore lookup of IPv4 mapped addresses in files database (bug 25457) 2023-07-24 13:16:24 +02:00
tst-nss-gai-actions.root/etc
tst-nss-gai-hv2-canonname.root getaddrinfo: Fix use after free in getcanonname (CVE-2023-4806) 2023-09-15 14:38:28 -04:00
tst-nss-test3.root
tst-reload1.root
tst-reload2.root
alias-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
aliases.h Move 'aliases' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
bug17079.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
bug-erange.c
compat-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
databases.def Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
db-Makefile Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Depend
digits_dots.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ether_hton.c Move 'ethers' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
ether_ntoh.c Move 'ethers' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
ethers-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fgetgrent_r.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
fgetgrent.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
fgetpwent_r.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
fgetpwent.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
fgetsgent_r.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
fgetsgent.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
fgetspent_r.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
fgetspent.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
function.def Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getaddrinfo.c nss: Remove unused allocation from get_nscd_addresses in getaddrinfo 2023-12-20 16:14:33 +01:00
getaliasent_r.c Move 'aliases' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getaliasent.c Move 'aliases' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getaliasname_r.c Move 'aliases' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getaliasname.c Move 'aliases' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getent.c Update copyright dates not handled by scripts/update-copyrights 2023-01-06 21:45:36 +00:00
getgrent_r.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
getgrent.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
getgrgid_r.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
getgrgid.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
getgrnam_r.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
getgrnam.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
gethstbyad_r.c Move 'hosts' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
gethstbyad.c Move 'hosts' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
gethstbynm2_r.c Move 'hosts' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
gethstbynm2.c Move 'hosts' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
gethstbynm_r.c Move 'hosts' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
gethstbynm.c Move 'hosts' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
gethstent_r.c Move 'hosts' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
gethstent.c Move 'hosts' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getnameinfo.c Move getnameinfo from 'inet' to 'nss' 2023-10-24 12:31:00 +02:00
getnetbyad_r.c Move 'networks' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getnetbyad.c Move 'networks' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getnetbynm_r.c Move 'networks' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getnetbynm.c Move 'networks' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getnetent_r.c Move 'networks' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getnetent.c Move 'networks' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getnetgrent_r.c Move 'netgroup' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getnetgrent.c Move 'netgroup' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getnssent_r.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getnssent.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getproto_r.c Move 'protocols' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getproto.c Move 'protocols' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getprtent_r.c Move 'protocols' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getprtent.c Move 'protocols' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getprtname_r.c Move 'protocols' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getprtname.c Move 'protocols' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
getpw.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getpwent_r.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getpwent.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getpwnam_r.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getpwnam.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getpwuid_r.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getpwuid.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getrpcbyname_r.c Move 'rpc' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getrpcbyname.c Move 'rpc' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getrpcbynumber_r.c Move 'rpc' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getrpcbynumber.c Move 'rpc' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getrpcent_r.c Move 'rpc' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getrpcent.c Move 'rpc' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getservent_r.c Move 'services' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getservent.c Move 'services' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getsgent_r.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getsgent.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getsgnam_r.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getsgnam.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getspent_r.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getspent.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getspnam_r.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getspnam.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
getsrvbynm_r.c Move 'services' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getsrvbynm.c Move 'services' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getsrvbypt_r.c Move 'services' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getsrvbypt.c Move 'services' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
getXXbyYY_r.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getXXbyYY.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
getXXent_r.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
getXXent.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
grp-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
grp-merge.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
grp-merge.h Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
grp.h Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
gshadow.h Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
hosts-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
initgroups-fallback.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
initgroups.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
key-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
lckpwdf.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
makedb.c nss: Get rid of alloca usage in makedb's write_output. 2023-10-04 18:18:02 +00:00
Makefile Move getnameinfo from 'inet' to 'nss' 2023-10-24 12:31:00 +02:00
netgroup.h Move 'netgroup' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
netgrp-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
network-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_action_parse.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_action.c Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
nss_action.h Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
nss_database.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
nss_database.h Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
nss_fgetent_r.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_files_data.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_files_fopen.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_files_functions.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_hash.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_module.c nss: Reconcile conditional declaration and use of `is_nscd' 2023-05-16 11:40:10 +02:00
nss_module.h Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions 2023-03-27 13:57:55 -03:00
nss_parse_line_result.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
nss_readline.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_test1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_test2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_test_errno.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_test_gai_hv2_canonname.c getaddrinfo: Fix use after free in getcanonname (CVE-2023-4806) 2023-09-15 14:38:28 -04:00
nss_test.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nss_test.ver
nss.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nsswitch.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nsswitch.conf Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
nsswitch.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
proto-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
putgrent.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
putpwent.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
putsgent.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
putspent.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
pwd-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
pwd.h Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
rewrite_field.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
rpc-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
service-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
sgetsgent_r.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
sgetsgent.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
sgetspent_r.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
sgetspent.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
sgrp-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
shadow.h Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
simple-nss-hash.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
spwd-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-digits-dots.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
test-netdb.c Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
test-rpcent.c Move 'rpc' routines from 'inet' into 'nss' 2023-10-24 12:31:00 +02:00
testgrp.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
tst_fgetgrent.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
tst_fgetgrent.sh Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
tst-cancel-getpwuid_r.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-fgetsgent_r.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
tst-field.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-getaddrinfo2.c Move getaddrinfo from 'posix' into 'nss' 2023-10-24 12:31:00 +02:00
tst-getaddrinfo3.c Move getaddrinfo from 'posix' into 'nss' 2023-10-24 12:31:00 +02:00
tst-getaddrinfo4.c Move getaddrinfo from 'posix' into 'nss' 2023-10-24 12:31:00 +02:00
tst-getaddrinfo5.c Move getaddrinfo from 'posix' into 'nss' 2023-10-24 12:31:00 +02:00
tst-getaddrinfo.c Move getaddrinfo from 'posix' into 'nss' 2023-10-24 12:31:00 +02:00
tst-gethnm.c Move 'hosts' routines from 'inet' into 'nss' 2023-10-24 12:30:59 +02:00
tst-getpw.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
tst-gshadow.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
tst-initgroups1.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
tst-initgroups2.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
tst-nss-compat1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-db-endgrent.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-db-endpwent.c tests: replace system by xsystem 2023-06-19 09:15:05 -04:00
tst-nss-files-alias-leak.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-files-alias-truncated.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-files-hosts-erange.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-files-hosts-getent.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-files-hosts-long.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-files-hosts-multi.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-files-hosts-v4mapped.c Restore lookup of IPv4 mapped addresses in files database (bug 25457) 2023-07-24 13:16:24 +02:00
tst-nss-gai-actions.c
tst-nss-gai-hv2-canonname.c Fix leak in getaddrinfo introduced by the fix for CVE-2023-4806 [BZ #30843] 2023-09-25 01:21:51 +01:00
tst-nss-gai-hv2-canonname.h getaddrinfo: Fix use after free in getcanonname (CVE-2023-4806) 2023-09-15 14:38:28 -04:00
tst-nss-getpwent.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-hash.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-static.c
tst-nss-test1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-test2.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-test3.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-test4.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-test5.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-nss-test_errno.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-putgrent.c Remove 'grp' and merge into 'nss' and 'posix' 2023-10-24 12:30:59 +02:00
tst-putpwent.c Remove 'pwd' and merge into 'nss' 2023-10-24 12:30:59 +02:00
tst-putsgent.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
tst-putspent.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
tst-reload1.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
tst-reload2.c tests: Replace various function calls with their x variant 2023-06-06 08:23:53 -04:00
tst-rfc3484-2.c Move getaddrinfo from 'posix' into 'nss' 2023-10-24 12:31:00 +02:00
tst-rfc3484-3.c Move getaddrinfo from 'posix' into 'nss' 2023-10-24 12:31:00 +02:00
tst-rfc3484.c Move getaddrinfo from 'posix' into 'nss' 2023-10-24 12:31:00 +02:00
tst-sgetsgent.c Remove 'gshadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
tst-shadow.c Remove 'shadow' and merge into 'nss' 2023-10-24 12:30:59 +02:00
valid_field.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
valid_list_field.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
Versions Move getnameinfo from 'inet' to 'nss' 2023-10-24 12:31:00 +02:00
XXX-lookup.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00