https://sourceware.org/bugzilla/show_bug.cgi?id=28715
--- Comment #4 from Evgeny Vereshchagin <evvers at ya dot ru> --- (In reply to Evgeny Vereshchagin from comment #3) > (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. > ``` Looks like I was wrong. Packit along with run-fuzz-dwfl-core.sh actually caught the infinite loop on 32 bit platforms: ``` Running: /builddir/build/BUILD/elfutils-0.186/tests/fuzz-dwfl-core-crashes/oss-fuzz-42645 ./test-subr.sh: line 84: 20115 Killed LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@" ``` I just didn't wait for it to finish. I'll try to apply https://sourceware.org/pipermail/elfutils-devel/2021q4/004557.html shortly and report back. -- You are receiving this mail because: You are on the CC list for the bug.