[Bug libdw/28715] There seems to be an infinite loop in dwfl_segment_report_module

evvers at ya dot ru sourceware-bugzilla@sourceware.org
Mon Dec 20 11:41:49 GMT 2021


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

--- Comment #3 from Evgeny Vereshchagin <evvers at ya dot ru> ---
(In reply to Mark Wielaard from comment #1)
> I couldn't replicate the infinite loop, which I assume has been fixed by:
> https://sourceware.org/pipermail/elfutils-devel/2021q4/004557.html

I haven't backported that patch yet but as far as I can see the infinite loop
can't be triggered with the following patches applied:
```
afd19a71 libdwfl: Handle unaligned Phdr in dwfl_segment_report_module
cf41ae95 libdwfl: Handle unaligned Ehdr in dwfl_segment_report_module
7f5e5da8 libdwfl: Make sure note data is properly aligned.
```

> But I saw it did trigger yet another xlate alignment issue for which I did
> submit:
> https://sourceware.org/pipermail/elfutils-devel/2021q4/004565.html

I've just ran into that as well. I'll apply the patch and report back if it's
still there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list