This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/20105] bad version variable in elf_dynamic_do_Rel() elf/do-rel.h (2.23) causes coredump in dl-machine.h elf_machine_rela()
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 18 May 2016 14:09:49 +0000
- Subject: [Bug dynamic-link/20105] bad version variable in elf_dynamic_do_Rel() elf/do-rel.h (2.23) causes coredump in dl-machine.h elf_machine_rela()
- Auto-submitted: auto-generated
- References: <bug-20105-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20105
--- Comment #16 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Jason Vas Dias from comment #15)
> I really think the authors of the glibc dynamic linker should rethink
> handling
> of map->l_versions being null fully in both do-rel.h and all the functions
> that
> receive its potentially null version pointer - otherwise I'll have to & will
> post patches back here.
It is false economy to make changes to the fast path of the dynamic loader in
order to diagnose a broken binary. There are other tools that can do this and
better. You must have a working non-corrupt system or the dynamic loader will
fail. There is simply too much in the ELF format that has to be "correct"
otherwise you crash.
--
You are receiving this mail because:
You are on the CC list for the bug.