On 04/23/2014 02:44 PM, Mark Wielaard wrote:
> I'm not sure if this addresses this completely addresses the
issue. A
> return value of 0 could mean "no debugaltlink data" or "the build ID
has
> zero length".
But a zero length build ID isn't valid, so then you would just return -1
and set DWARF_E_INVALID_ELF.
Okay, I did this in the attached patches.
Do you want me to resubmit the final part concerning libdwfl?
--
Florian Weimer / Red Hat Product Security Team