[PATCH] BZ #14831: Segfault in _dl_profile_fixup with IRELATIVE and LD_AUDIT
Roland McGrath
roland@hack.frob.com
Wed Nov 14 00:26:00 GMT 2012
> + if (l->l_reloc_result == NULL)
> + {
> + /* Skip audit if l_reloc_result is NULL which happens with
> + IRELATIVE relocations in other DSOs, like libm.so. */
> + *framesizep = -1;
This needs a more extensive comment about how it arises that we get here
with l_reloc_result NULL and why it is OK to short-circuit this way.
> + return _dl_fixup (l, reloc_arg);
How can this be right when ELF_MACHINE_RUNTIME_FIXUP_ARGS is nonempty?
Thanks,
Roland
More information about the Libc-alpha
mailing list