glibc/nscd
DJ Delorie 4352eb4e5d 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:42:28 +05:30
..
aicache.c nscd: Switch to struct scratch_buffer in adhstaiX [BZ #18023] 2018-06-25 18:41:54 +02:00
cache.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
connections.c nscd: avoid assertion failure during persistent db check 2019-10-30 13:59:26 +01:00
dbg_log.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dbg_log.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Depend hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
gai.c nscd: Do not use __inet_aton_exact@GLIBC_PRIVATE [BZ #20018] 2019-02-04 21:36:38 +01:00
getgrgid_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getgrnam_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gethstbyad_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gethstbynm3_r.c CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings [BZ #20018] 2019-02-04 21:36:37 +01:00
getpwnam_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getpwuid_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getsrvbynm_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getsrvbypt_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
grpcache.c nscd: Use struct scratch_buffer, not extend_alloca in most caches [BZ #18023] 2018-06-25 18:41:52 +02:00
hstcache.c nscd: Use struct scratch_buffer, not extend_alloca in most caches [BZ #18023] 2018-06-25 18:41:52 +02:00
initgrcache.c [BZ #20271] Add newlines in __libc_fatal calls. 2018-11-09 10:17:07 -05:00
Makefile nscd: Do not use __inet_aton_exact@GLIBC_PRIVATE [BZ #20018] 2019-02-04 21:36:38 +01:00
mem.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netgroupcache.c nscd: Fix double free in netgroupcache [BZ #27462] 2021-03-08 15:42:28 +05:30
nscd_conf.c nscd: Deallocate existing user names in file parser 2018-08-14 10:57:05 +02:00
nscd_getai.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_getgr_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_gethst_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_getpw_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_getserv_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_helper.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_initgroups.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_netgroup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_proto.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_setup_thread.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_stat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd-client.h Fix concurrent changes on nscd aware files (BZ #23178) 2018-05-16 13:44:53 -03:00
nscd-inet_addr.c nscd: Do not use __inet_aton_exact@GLIBC_PRIVATE [BZ #20018] 2019-02-04 21:36:38 +01:00
nscd.c Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
nscd.conf Implement caching of nscd 2011-10-07 10:06:31 -04:00
nscd.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd.init
nscd.service nscd: also invalidate netgroup cache on reload 2014-03-19 14:45:10 +01:00
nscd.tmpfiles Add systemd unit file for nscd 2013-12-16 11:22:01 +10:00
pwdcache.c manual: Revise crypt.texi. 2018-06-29 16:53:37 +02:00
res_hconf.c
selinux.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
selinux.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
servicescache.c nscd: Use struct scratch_buffer, not extend_alloca in most caches [BZ #18023] 2018-06-25 18:41:52 +02:00