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/21041] IFUNC setjmp/longjmp in libpthread.so are unsafe


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

--- Comment #19 from H.J. Lu <hjl.tools at gmail dot com> ---
dl-lookup.c has

skip:
      /* If this current map is the one mentioned in the verneed entry
         and we have not found a weak entry, it is a bug.  */
      if (symidx == STN_UNDEF && version != NULL && version->filename != NULL
          && __glibc_unlikely (_dl_name_match_p (version->filename, map))) 
        return -1;

But there is no requirement for that the symbol definition at run-time
must come from the same shared object at link-time.

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