This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/23296] Data race in setting function descriptor during lazy binding
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 20 Jun 2018 14:21:04 +0000
- Subject: [Bug libc/23296] Data race in setting function descriptor during lazy binding
- Auto-submitted: auto-generated
- References: <bug-23296-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23296
--- Comment #8 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to dave.anglin from comment #7)
> On 2018-06-18 4:17 PM, carlos at redhat dot com wrote:
> > Here we would compare fptr to the plt entry we're trying to update.
> Unfortunately, we don't have fptr. We have got, gp and l. This gives
> jmprel and end_jmprel but I don't think gp is sufficient to find the reloc.
It should be sufficient.
If you have jmprel and end_jmprel you can iterate over all the relocs.
If you can iterate the relocs you can compute the address that each reloc
adjusts.
You can compare the adjusted address to the PLT you are going to adjust?
--
You are receiving this mail because:
You are on the CC list for the bug.