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

mark at klomp dot org sourceware-bugzilla@sourceware.org
Thu Dec 16 21:55:23 GMT 2021


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
Thanks for testing. Pushed as:

commit 9098a37fcfb67342ad955efc71d1398e2f8a69c1
Author: Mark Wielaard <mark@klomp.org>
Date:   Wed Dec 8 18:02:27 2021 +0100

    libdwfl: Add overflow check while iterating in dwfl_segment_report_module

    While iterating the notes we could overflow the len variable if the
    note name or description was too big. Fix this by adding an (unsigned)
    overflow check.

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

    Signed-off-by: Mark Wielaard <mark@klomp.org>

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


More information about the Elfutils-devel mailing list