Summary: | Explicit loader invocation "ld.so ./a.out" on a PIE binary calls global ctors twice | ||
---|---|---|---|
Product: | glibc | Reporter: | Paul Pluzhnikov <ppluzhnikov> |
Component: | dynamic-link | Assignee: | Paul Pluzhnikov <ppluzhnikov> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | stijnv |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Paul Pluzhnikov
2013-12-30 22:31:31 UTC
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 798212a01311491d5e14fcda687460b75f8ca286 (commit) from abe6d90cc8c1c212dab7cde4468f9ed895d6ba86 (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 ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=798212a01311491d5e14fcda687460b75f8ca286 commit 798212a01311491d5e14fcda687460b75f8ca286 Author: Paul Pluzhnikov <ppluzhnikov@google.com> Date: Wed Mar 12 15:58:39 2014 -0700 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #16381] * elf/Makefile (tests): Add tst-pie2. (tests-pie): Add tst-pie2. * elf/tst-pie2.c: New file. * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type for ET_EXEC. * elf/rtld.c (map_doit): Load executable as lt_executable. (dl_main): Likewise. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 12 ++++++++++++ NEWS | 6 +++--- elf/Makefile | 5 +++-- elf/dl-load.c | 4 ++-- elf/rtld.c | 5 +++-- 5 files changed, 23 insertions(+), 9 deletions(-) Should be fixed now. |