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/20019] NULL pointer dereference in libc.so.6 IFUNC due to uninitialized GOT


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

--- Comment #17 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to H.J. Lu from comment #16)
> (In reply to Carlos O'Donell from comment #15)
> > (In reply to cvs-commit@gcc.gnu.org from comment #14)
> > > Summary of changes:
> > >  ChangeLog                   |    7 +++++++
> > >  sysdeps/i386/dl-machine.h   |   18 +++++++++++++++++-
> > >  sysdeps/x86_64/dl-machine.h |   18 +++++++++++++++++-
> > >  3 files changed, 41 insertions(+), 2 deletions(-)
> > 
> > I think the semantics are equivalent for all arches and therefore this needs
> > fixing across all arches that have IFUNC support.
> > 
> > If you close this issue out, please open a new bug to fix the other arches,
> > and retitle this one for x86 only.
> 
> This patch only addresses the x86 specific IFUNC implementation within
> glibc. It doesn't cover IFUNC issue outside of libc.so.  IFUNC can still fail
> on all arches outside of libc.so. I think it is OK to mark it x86 specific
> and close it.

If other arches need the same or similar changes to dl-machine.h to get the
same level of warnings as on x86 then please file another issue for such
machine maintainers to review.

-- 
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]