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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
Thanks, looks like we got the same issue copy pasted between str_offsets (bug
#34383), rnglists (bug #34385) and loclists (bug #34386).

commit 304f2a62981badd1d1c8f2507dc8d156856e065b
Author: Mark Wielaard <[email protected]>
Date:   Sat Jul 11 17:30:15 2026 +0200

    libdw: Check there are any header bytes in loclists

    We tried to read the loclists header length and only then checked if
    there were any bytes left. Make sure to check there are at least 4
    bytes for the initial unit length.

            * libdw/libdwP.h (__libdw_cu_locs_base): Check before initial
            unit_length read.

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

    Reported-by: Karan Kurani <[email protected]>
    Signed-off-by: Mark Wielaard <[email protected]>

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

Reply via email to