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

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Indu Bhagat <ibha...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d984b08bb707a732358341b44b444c1c9860b287

commit d984b08bb707a732358341b44b444c1c9860b287
Author: Indu Bhagat <indu.bha...@oracle.com>
Date:   Tue Jun 3 23:10:46 2025 -0700

    sframe: fix PR libsframe/33051

    Fix PR libsframe/Bug 33051 - ASAN: heap-buffer-overflow
    ../../src/libsframe/sframe.c:1054 in
    sframe_get_funcdesc_with_addr_internal

    The previous commit 9d2a24349e2 (libsframe: correct binary search for
    SFrame FDE) adapted the binary search logic in
    sframe_get_funcdesc_with_addr_internal.  Adjusting the upper end of the
    search index was missed.

    The search must only be done for FDEs starting at index 0 and up until
    num_fdes - 1.  Prior logic of searching (before commit 9d2a24349e2) was
    a bit different.

    libsframe/
            * sframe.c: Use the correct high index.

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

Reply via email to