GNU C Library master sources branch, master, updated. glibc-2.11-353-gad3d3e8
Fri Apr 9 00:14:00 GMT 2010

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  ad3d3e8f20c95aae9d26970c169bca6f48072681 (commit)
      from  59d9f1d6983fc9b606a1f9214fb817efe3d6cff8 (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 -----------------------------------------------------------------;a=commitdiff;h=ad3d3e8f20c95aae9d26970c169bca6f48072681

commit ad3d3e8f20c95aae9d26970c169bca6f48072681
Author: Ulrich Drepper <>
Date:   Thu Apr 8 17:12:42 2010 -0700

    Fix possibly uninitilized variable handling.
    If malloc errors are ignored (which say aren't by default and never
    should be) malloc in the old, slow form might use an uninitialized

diff --git a/ChangeLog b/ChangeLog
index c35f5ff..9d83777 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-08  Ulrich Drepper  <>
+	* malloc/malloc.c (_int_malloc): Return NULL if printing error message
+	returns.
 2010-03-30  Daniel Jacobowitz  <>
 	* Makeconfig (+common-includes): Define.
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 558e8ba..722b1d4 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -4306,6 +4306,7 @@ _int_malloc(mstate av, size_t bytes)
 	  errstr = "malloc(): memory corruption (fast)";
 	  malloc_printerr (check_action, errstr, chunk2mem (victim));
+	  return NULL;
       *fb = victim->fd;


Summary of changes:
 ChangeLog       |    5 +++++
 malloc/malloc.c |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

GNU C Library master sources

More information about the Glibc-cvs mailing list