glibc/nscd
Siddhesh Poyarekar 3cb26316b4 Initialize nscd stats data [BZ #17892]
The padding bytes in the statsdata struct are not initialized, due to
which valgrind throws a warning:

==11384== Memcheck, a memory error detector
==11384== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==11384== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==11384== Command: nscd -d
==11384==
Fri 25 Apr 2014 10:34:53 AM CEST - 11384: handle_request: request received (Version = 2) from PID 11396
Fri 25 Apr 2014 10:34:53 AM CEST - 11384:       GETSTAT
==11384== Thread 6:
==11384== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==11384==    at 0x4E4ACDC: send (in /lib64/libpthread-2.12.so)
==11384==    by 0x11AF6B: send_stats (in /usr/sbin/nscd)
==11384==    by 0x112F75: nscd_run_worker (in /usr/sbin/nscd)
==11384==    by 0x4E439D0: start_thread (in /lib64/libpthread-2.12.so)
==11384==    by 0x599AB6C: clone (in /lib64/libc-2.12.so)
==11384==  Address 0x15708395 is on thread 6's stack

Fix the warning by initializing the structure.
2015-01-29 10:30:09 +05:30
..
aicache.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
cache.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
connections.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dbg_log.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dbg_log.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Depend Don't mention linuxthreads in Depend files. 2014-05-21 16:53:11 +00:00
gai.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getgrgid_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getgrnam_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbyad_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethstbynm3_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpwnam_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpwuid_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbynm_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsrvbypt_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
grpcache.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
hstcache.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
initgrcache.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mem.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netgroupcache.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_conf.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_getai.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_getgr_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_gethst_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_getpw_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_getserv_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_helper.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_initgroups.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_netgroup.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_proto.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_setup_thread.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_stat.c Initialize nscd stats data [BZ #17892] 2015-01-29 10:30:09 +05:30
nscd-client.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd.c Update copyright dates not handled by scripts/update-copyrights. 2015-01-02 16:54:45 +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. 2015-01-02 16:29:47 +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 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
res_hconf.c
selinux.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
selinux.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
servicescache.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00