This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.14-255-gc966526


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  c966526aa40273e0da42dfd26fa8c0f409e69b86 (commit)
       via  680f813ed3b9e6203e952c6d7275526ccc04d17f (commit)
      from  48882a1abe30ccfc262866c9afcf9e62fc400ae4 (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=c966526aa40273e0da42dfd26fa8c0f409e69b86

commit c966526aa40273e0da42dfd26fa8c0f409e69b86
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Wed Sep 7 22:58:47 2011 -0400

    Fix memory leak in case of failed dlopen

diff --git a/ChangeLog b/ChangeLog
index 8062781..7e77bc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
 
+	[BZ #13123]
+	* elf/dl-load.c (lose): Free l_origin if it is valid.
+
 	* sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
 	names.
 	* sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
diff --git a/NEWS b/NEWS
index bd8ee5b..6e2ab66 100644
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,7 @@ Version 2.15
 * The following bugs are resolved with this release:
 
   9696, 12868, 12852, 12874, 12885, 12907, 12922, 12935, 13007, 13021,
-  13068, 13092, 13114, 13134, 13150
+  13068, 13092, 13114, 13123, 13134, 13150
 
 * New program pldd to list loaded object of a process
   Implemented by Ulrich Drepper.
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 24b3359..7d7008d 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -888,6 +888,8 @@ lose (int code, int fd, const char *name, char *realname, struct link_map *l,
   /* The file might already be closed.  */
   if (fd != -1)
     (void) __close (fd);
+  if (l->l_origin != (char *) -1l)
+    free (l->l_origin);
   free (l);
   free (realname);
 

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=680f813ed3b9e6203e952c6d7275526ccc04d17f

commit 680f813ed3b9e6203e952c6d7275526ccc04d17f
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Wed Sep 7 22:37:22 2011 -0400

    Remove invalid BZ number

diff --git a/NEWS b/NEWS
index f4d6ab5..bd8ee5b 100644
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,7 @@ Version 2.15
 * The following bugs are resolved with this release:
 
   9696, 12868, 12852, 12874, 12885, 12907, 12922, 12935, 13007, 13021,
-  13068, 13092, 13114, 13134, 13144, 13150
+  13068, 13092, 13114, 13134, 13150
 
 * New program pldd to list loaded object of a process
   Implemented by Ulrich Drepper.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog     |    3 +++
 NEWS          |    2 +-
 elf/dl-load.c |    2 ++
 3 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]