This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, fedora/master, updated. glibc-2.14-853-g71219a9
- From: schwab at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 31 May 2011 14:23:10 -0000
- Subject: GNU C Library master sources branch, fedora/master, updated. glibc-2.14-853-g71219a9
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, fedora/master has been updated
via 71219a9dea6b47774bcea14b836ad3bb570453a6 (commit)
via 706c34743628c9d573ce1f6c9c949cd79687658e (commit)
via 676a3711348377f0e38118f6f339bb03992ab408 (commit)
via 356f8bc660a154a07b03da7c536831da5c8f74fe (commit)
via 5b27a807d596398f813ad17651808c30a8e2bff4 (commit)
via 83796ee0776c93eede6452b266f863ba748f6dc4 (commit)
via 41fce8bd09b10935315ab67a46ea3970ed9f925d (commit)
via 4769ae77fc6c8dacea6476addb015c8797848cdd (commit)
via 4462fad3d9db8c5d5c842b059edefa0019a5e045 (commit)
via ec81170ffc1e905a1b6422eaec5a06f1949e3fff (commit)
via 6b1e7d1992cd89032df431c0e0d1418b97e57cd8 (commit)
via 4997db742946d08be4378cf91221f558f928bc73 (commit)
via 18a84741d8c786053e2a13a179efa22e4b24f160 (commit)
via 01f16ab0a581838d44ad79e82c0c3e1691d8506e (commit)
via 7ae22829afb2b4ca531d1c00437d428f55d59341 (commit)
via 553149f603fa2897052af45c676020558d7138a6 (commit)
via 873ca5046137917ddb6fae7f6cf097d91612d4d6 (commit)
via 652ffab11358f8961770792cbbecbaec42c69479 (commit)
via 16985fd0c79ccffc105d77c9076ab0a4bb0e5714 (commit)
via c30b7ee2c3b8314c3e87ac6cab27949dbbe1f3e4 (commit)
via 0464f746e87fa29a1e3a88e9d3c1ff102b559528 (commit)
via 7d17596c198f11fa85cbcf9587443f262e63b616 (commit)
via a33c44639a8784589c8386ac0b56baf6d0beca32 (commit)
via 0810a11e5302ce0556b32238dc1b5c6f634dfe45 (commit)
via cf6bbbd701380accba8f709cf88b7bb160131e32 (commit)
via 13f1ab36a4c3451b1c0287cc404dbfe927c8eced (commit)
via 80e2212d8e59933a1641f029ebd360526ff0e074 (commit)
via b1ebd700c5295a449f8d114740f0d1fb6e6b2eb5 (commit)
via 8887a920a4b81a500f54893250085e0d1a52cf9a (commit)
via 4f031072a5055abd83717820b59efdaa463d5853 (commit)
via 9ce9d0ec9001a7e7ac25653f3026233cdd1c0b1f (commit)
via b0316e569fb5fc12301bba9d431c737e0b684196 (commit)
via a91710475294c66d0005bdaae0919d36ef8ce3d2 (commit)
via d0478f0c813861837659bd41888100e2b2c5bf8c (commit)
via de81b24662a219247b71d493a807c542edf4ec9f (commit)
via c738465a4c13370f58b797a82cdf1c67e1121867 (commit)
via f1f929d74a08d6f973cec20e311401586f408d35 (commit)
via ce67228d570d2df88d74184e5e3618a5b2ef8704 (commit)
via a8509ca540427502bd955f35296ff7b727c7a8a1 (commit)
from a6278d52ff51d4821baeeae5a32c617251d7c270 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=71219a9dea6b47774bcea14b836ad3bb570453a6
commit 71219a9dea6b47774bcea14b836ad3bb570453a6
Author: Andreas Schwab <schwab@redhat.com>
Date: Tue May 31 13:44:16 2011 +0200
2.14-1
diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index dd2ba0f..94c0f40 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -23,7 +23,7 @@
Summary: The GNU libc libraries
Name: glibc
Version: %{glibcversion}
-Release: 14
+Release: 1
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
# Things that are linked directly into dynamically linked programs
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -1047,6 +1047,24 @@ rm -f *.filelist*
%endif
%changelog
+* Tue May 31 2011 Andreas Schwab <schwab@redhat.com> - 2.14-1
+- Update to 2.14 release
+ - Handle DNS server failures in case of AF_UNSPEC lookups correctly
+ (BZ#12684)
+ - Prevent loader from loading itself
+ - Restore _res correctly (BZ#12350)
+ - Interpret numeric values in shadow file as signed (BZ#11099)
+ - Recognize use-vc option in resolv.conf (BZ#11558)
+ - Mark malloc hook variables as deprecated
+ - Declare malloc hook variables as volatile (BZ#11781)
+ - Don't document si_code used for raise (BZ#11799)
+ - Fix unnecessary overallocation due to incomplete character (BZ#12811)
+ - Handle failure of _nl_explode_name in all cases
+ - Add support for time syscall in vDSO (BZ#12813)
+ - Add sendmmsg and setns syscalls
+ - Use getcpu definition from vDSO on x86-64 (BZ#12813)
+- Don't free non-malloced memory and fix memory leak (#709267)
+
* Fri May 27 2011 Andreas Schwab <schwab@redhat.com> - 2.13.90-14
- Update from master
- Fix conversion to ISO-2022-JP-2 with ISO-8859-7 designation
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=706c34743628c9d573ce1f6c9c949cd79687658e
commit 706c34743628c9d573ce1f6c9c949cd79687658e
Author: Andreas Schwab <schwab@redhat.com>
Date: Tue May 31 13:30:36 2011 +0200
Don't free non-malloced memory and fix memory leak
diff --git a/ChangeLog b/ChangeLog
index 2449916..e335b77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-31 Andreas Schwab <schwab@redhat.com>
+
+ * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
+ memory. Use alloca_account. Fix memory leak when retrying.
+
2011-05-31 Ulrich Drepper <drepper@gmail.com>
* version.h (RELEASE): Bump for 2.14 release.
diff --git a/nscd/nscd_getserv_r.c b/nscd/nscd_getserv_r.c
index de96a57..f9ef056 100644
--- a/nscd/nscd_getserv_r.c
+++ b/nscd/nscd_getserv_r.c
@@ -124,6 +124,7 @@ nscd_getserv_r (const char *crit, size_t critlen, const char *proto,
s_name = (char *) (&found->data[0].servdata + 1);
serv_resp = found->data[0].servdata;
s_proto = s_name + serv_resp.s_name_len;
+ alloca_aliases_len = 1;
aliases_len = (uint32_t *) (s_proto + serv_resp.s_proto_len);
aliases_list = ((char *) aliases_len
+ serv_resp.s_aliases_cnt * sizeof (uint32_t));
@@ -154,7 +155,9 @@ nscd_getserv_r (const char *crit, size_t critlen, const char *proto,
+ (serv_resp.s_aliases_cnt
* sizeof (uint32_t)));
if (alloca_aliases_len)
- tmp = __alloca (serv_resp.s_aliases_cnt * sizeof (uint32_t));
+ tmp = alloca_account (serv_resp.s_aliases_cnt
+ * sizeof (uint32_t),
+ alloca_used);
else
{
tmp = malloc (serv_resp.s_aliases_cnt * sizeof (uint32_t));
@@ -249,8 +252,9 @@ nscd_getserv_r (const char *crit, size_t critlen, const char *proto,
+ (serv_resp.s_aliases_cnt
* sizeof (uint32_t)));
if (alloca_aliases_len)
- aliases_len = alloca (serv_resp.s_aliases_cnt
- * sizeof (uint32_t));
+ aliases_len = alloca_account (serv_resp.s_aliases_cnt
+ * sizeof (uint32_t),
+ alloca_used);
else
{
aliases_len = malloc (serv_resp.s_aliases_cnt
@@ -368,7 +372,11 @@ nscd_getserv_r (const char *crit, size_t critlen, const char *proto,
}
if (retval != -1)
- goto retry;
+ {
+ if (!alloca_aliases_len)
+ free (aliases_len);
+ goto retry;
+ }
}
if (!alloca_aliases_len)
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=676a3711348377f0e38118f6f339bb03992ab408
commit 676a3711348377f0e38118f6f339bb03992ab408
Merge: a6278d5 356f8bc
Author: Andreas Schwab <schwab@redhat.com>
Date: Tue May 31 10:39:07 2011 +0200
Merge commit 'glibc-2.14' into fedora/master
diff --cc NEWS
index 0e96328,1ca9673..c6be68c
--- a/NEWS
+++ b/NEWS
@@@ -9,18 -9,29 +9,19 @@@ Version 2.1
* The following bugs are resolved with this release:
- 386, 6420, 7101, 9730, 9732, 9809, 10138, 10149, 10157, 11257, 11258,
- 11487, 11532, 11578, 11653, 11668, 11697, 11724, 11820, 11837, 11857,
- 11869, 11892, 11895, 11901, 11945, 11947, 11952, 11987, 12052, 12083,
- 12158, 12178, 12200, 12346, 12393, 12420, 12432, 12445, 12449, 12453,
- 12454, 12460, 12469, 12489, 12509, 12510, 12511, 12518, 12527, 12541,
- 12545, 12551, 12582, 12583, 12587, 12597, 12601, 12611, 12625, 12626,
- 12631, 12650, 12653, 12655, 12660, 12671, 12681, 12685, 12711, 12713,
- 12714, 12717, 12723, 12724, 12734, 12738, 12746, 12766, 12775, 12777,
- 12782, 12788, 12792, 12795, 12814
+ 386, 6420, 7101, 9730, 9732, 9809, 10138, 10149, 10157, 11099, 11257,
+ 11258, 11487, 11532, 11558, 11578, 11634, 11653, 11668, 11697, 11724,
+ 11781, 11799, 11820, 11837, 11857, 11869, 11892, 11895, 11901, 11945,
+ 11947, 11952, 11987, 12052, 12083, 12158, 12178, 12200, 12346, 12350,
+ 12393, 12420, 12432, 12445, 12449, 12453, 12454, 12460, 12469, 12489,
+ 12509, 12510, 12511, 12518, 12527, 12541, 12545, 12551, 12582, 12583,
+ 12587, 12597, 12601, 12611, 12625, 12626, 12631, 12650, 12653, 12655,
+ 12660, 12671, 12681, 12684, 12685, 12711, 12713, 12714, 12717, 12723,
+ 12724, 12734, 12738, 12746, 12766, 12775, 12777, 12782, 12788, 12792,
+ 12795, 12811, 12813, 12814
-* The RPC implementation in libc is obsoleted. Old programs keep working
- but new programs cannot be linked with the routines in libc anymore.
- Programs in need of RPC functionality must be linked against TI-RPC.
- The TI-RPC implementation is IPv6 enabled and there are other benefits.
-
- Visible changes of this change include (obviously) the inability to link
- programs using RPC functions without referencing the TI-RPC library and the
- removal of the RPC headers from the glibc headers.
- Implemented by Ulrich Drepper.
-
* New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at,
- syncfs
+ syncfs, setns, sendmmsg
* New locales: os_RU, bem_ZA, en_ZA, ff_SN, sw_KE, sw_TZ, lb_LU, wae_CH,
yue_HK, lij_IT, mhr_RU
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 120 ++-
Makeconfig | 6 +
NEWS | 41 +-
config.make.in | 1 -
debug/xtrace.sh | 4 +-
elf/Makefile | 27 +-
elf/dl-deps.c | 10 +-
elf/dl-fini.c | 10 +-
elf/rtld.c | 8 +
elf/sotruss-lib.c | 333 +++++
elf/sotruss.ksh | 154 +++
fedora/glibc.spec.in | 20 +-
include/features.h | 2 +-
locale/findlocale.c | 5 +-
locale/programs/locarchive.c | 13 +-
malloc/malloc.h | 91 +-
malloc/memusage.sh | 4 +-
nscd/nscd_getserv_r.c | 16 +-
po/Makefile | 12 +-
po/libc.pot | 1605 +++++++++++++++----------
posix/Makefile | 2 +-
posix/bug-regex32.c | 36 +
posix/glob.c | 1 -
posix/regex_internal.c | 24 +-
posix/regexec.c | 10 +-
resolv/res_init.c | 65 +-
resolv/res_send.c | 12 +-
shadow/sgetspent_r.c | 20 +-
sysdeps/posix/getaddrinfo.c | 4 +-
sysdeps/unix/sysv/linux/Makefile | 3 +-
sysdeps/unix/sysv/linux/Versions | 4 +
sysdeps/unix/sysv/linux/bits/sched.h | 10 +-
sysdeps/unix/sysv/linux/bits/siginfo.h | 4 +-
sysdeps/unix/sysv/linux/bits/socket.h | 9 +-
sysdeps/unix/sysv/linux/ia64/bits/siginfo.h | 4 +-
sysdeps/unix/sysv/linux/internal_sendmmsg.S | 14 +
sysdeps/unix/sysv/linux/kernel-features.h | 5 +
sysdeps/unix/sysv/linux/s390/bits/siginfo.h | 4 +-
sysdeps/unix/sysv/linux/sendmmsg.c | 96 ++
sysdeps/unix/sysv/linux/socketcall.h | 3 +-
sysdeps/unix/sysv/linux/sparc/bits/siginfo.h | 4 +-
sysdeps/unix/sysv/linux/syscalls.list | 2 +
sysdeps/unix/sysv/linux/x86_64/init-first.c | 22 +-
sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S | 7 +-
sysdeps/unix/sysv/linux/x86_64/time.S | 7 +-
version.h | 4 +-
46 files changed, 2022 insertions(+), 836 deletions(-)
create mode 100644 elf/sotruss-lib.c
create mode 100755 elf/sotruss.ksh
create mode 100644 posix/bug-regex32.c
create mode 100644 sysdeps/unix/sysv/linux/internal_sendmmsg.S
create mode 100644 sysdeps/unix/sysv/linux/sendmmsg.c
hooks/post-receive
--
GNU C Library master sources