This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.20-574-g00b8b9b
- From: siddhesh at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 29 Jan 2015 05:06:14 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-574-g00b8b9b
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 00b8b9baf410d28598e3c9a967ecc5dbb7e604af (commit)
via 3cb26316b45b23dc5cfecbafdc489b28c3a52029 (commit)
from 527de9e4e3a8fc597dd59f7cd81a80fe8c6145b2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=00b8b9baf410d28598e3c9a967ecc5dbb7e604af
commit 00b8b9baf410d28598e3c9a967ecc5dbb7e604af
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Thu Jan 29 10:31:10 2015 +0530
Fix up ChangeLog formatting
diff --git a/ChangeLog b/ChangeLog
index faccea3..6313758 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -713,12 +713,12 @@
(R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
(R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
(R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
- (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
- (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
- (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
- (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
- (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
- (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
+ (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
+ (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
+ (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
+ (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
+ (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
+ (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
(R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
(R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
(R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
@@ -1066,12 +1066,12 @@
2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
- * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
- for __vdso_* functions in declarations.
- * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
- definitions.
- * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
- INTERNAL_VSYSCALL): Use struct return types to check for error.
+ * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
+ for __vdso_* functions in declarations.
+ * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
+ definitions.
+ * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
+ INTERNAL_VSYSCALL): Use struct return types to check for error.
* sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
&& REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=3cb26316b45b23dc5cfecbafdc489b28c3a52029
commit 3cb26316b45b23dc5cfecbafdc489b28c3a52029
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Thu Jan 29 10:30:09 2015 +0530
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.
diff --git a/ChangeLog b/ChangeLog
index 0340bbe..faccea3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ [BZ #17892]
+ * nscd/nscd_stat.c (send_stats): Initialize DATA.
+
2015-01-28 Martin Sebor <msebor@redhat.com>
* math/README.libm-test: Clarify. Add "How to read the test output."
diff --git a/NEWS b/NEWS
index 1dcfc7d..8e2729b 100644
--- a/NEWS
+++ b/NEWS
@@ -18,7 +18,7 @@ Version 2.21
17657, 17658, 17664, 17665, 17668, 17682, 17702, 17717, 17719, 17722,
17723, 17724, 17725, 17732, 17733, 17744, 17745, 17746, 17747, 17748,
17775, 17777, 17780, 17781, 17782, 17791, 17793, 17796, 17797, 17803,
- 17806, 17834, 17844, 17848, 17868, 17869, 17870, 17885
+ 17806, 17834, 17844, 17848, 17868, 17869, 17870, 17885, 17892.
* A new semaphore algorithm has been implemented in generic C code for all
machines. Previous custom assembly implementations of semaphore were
diff --git a/nscd/nscd_stat.c b/nscd/nscd_stat.c
index 0f1f3c0..7aaa21b 100644
--- a/nscd/nscd_stat.c
+++ b/nscd/nscd_stat.c
@@ -94,6 +94,8 @@ send_stats (int fd, struct database_dyn dbs[lastdb])
struct statdata data;
int cnt;
+ memset (&data, 0, sizeof (data));
+
memcpy (data.version, compilation, sizeof (compilation));
data.debug_level = debug_level;
data.runtime = time (NULL) - start_time;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 29 +++++++++++++++++------------
NEWS | 2 +-
nscd/nscd_stat.c | 2 ++
3 files changed, 20 insertions(+), 13 deletions(-)
hooks/post-receive
--
GNU C Library master sources