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/20105] bad version variable in elf_dynamic_do_Rel() elf/do-rel.h (2.23) causes coredump in dl-machine.h elf_machine_rela()


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.

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