This is the mail archive of the glibc-bugs@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]

[Bug dynamic-link/20292] Comparison in elf/dl-open.c _dl_addr_inside_object is always true.


https://sourceware.org/bugzilla/show_bug.cgi?id=20292

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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  d61ef7352b0026d9eeaf457dbfbb2e3fd8401e92 (commit)
      from  29cb9293326a27576965a40d50a898ee660dff81 (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=d61ef7352b0026d9eeaf457dbfbb2e3fd8401e92

commit d61ef7352b0026d9eeaf457dbfbb2e3fd8401e92
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Thu Sep 29 21:54:31 2016 -0400

    Bug 20292 - Simplify and test _dl_addr_inside_object

    The function _dl_addr_inside_object is simplified by removing
    the conditional 'reladdr - l->l_phdr[n].p_vaddr >= 0' which is
    always true. The function is refactored into it's own object file
    and a unit test added to verify the correct behaviour of the
    function.

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

Summary of changes:
 ChangeLog                        |   16 +++
 elf/Makefile                     |   12 ++-
 elf/dl-addr-obj.c                |   75 +++++++++++++
 elf/dl-addr.c                    |   16 ---
 elf/dl-open.c                    |   18 ---
 elf/tst-_dl_addr_inside_object.c |  223 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 325 insertions(+), 35 deletions(-)
 create mode 100644 elf/dl-addr-obj.c
 create mode 100644 elf/tst-_dl_addr_inside_object.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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