glibc/nscd
DJ Delorie 1d45265691 nscd: Fix double free in netgroupcache [BZ #27462]
In commit 745664bd79 a use-after-free
was fixed, but this led to an occasional double-free.  This patch
tracks the "live" allocation better.

Tested manually by a third party.

Related: RHBZ 1927877

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit dca565886b)
2021-03-08 15:26:15 +05:30
..
aicache.c nss: Add function types and NSS_DECLARE_MODULE_FUNCTIONS macro to <nss.h> 2020-02-13 09:14:40 +01:00
cache.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
cachedumper.c nscd/cachedumper.c : fix whitespace 2020-03-17 14:03:43 -04:00
connections.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dbg_log.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dbg_log.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Depend
gai.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getgrgid_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getgrnam_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gethstbyad_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gethstbynm3_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getpwnam_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getpwuid_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getsrvbynm_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getsrvbypt_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
grpcache.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hstcache.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
initgrcache.c Remove --enable-obsolete-nsl configure flag 2020-07-08 17:25:57 +02:00
Makefile nscd: add cache dumper 2020-03-13 16:43:19 -04:00
mem.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
netgroupcache.c nscd: Fix double free in netgroupcache [BZ #27462] 2021-03-08 15:26:15 +05:30
nscd_conf.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_getai.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_getgr_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_gethst_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_getpw_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_getserv_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_helper.c y2038: nscd: Modify nscd_helper to use __clock_gettime64 2020-05-05 18:45:14 +02:00
nscd_initgroups.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_netgroup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_proto.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_setup_thread.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd_stat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd-client.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nscd.c nscd: add cache dumper 2020-03-13 16:43:19 -04:00
nscd.conf
nscd.h nscd: add cache dumper 2020-03-13 16:43:19 -04:00
nscd.init
nscd.service
nscd.tmpfiles
pwdcache.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
res_hconf.c
selinux.c Disable warnings due to deprecated libselinux symbols used by nss and nscd 2020-07-23 12:20:38 +02:00
selinux.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
servicescache.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00