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

Mark Wielaard <mark at klomp dot org> changed:

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

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
commit b38e562a4c907e08171c76b8b2def8464d5a104a
Author: Mark Wielaard <m...@klomp.org>
Date:   Sun Feb 9 00:07:13 2025 +0100

    readelf: Handle NULL phdr in handle_dynamic_symtab

    A corrupt ELF file can have broken program headers, in which case
    gelf_getphdr returns NULL. This could crash handle_dynamic_symtab
    while searching for the PT_DYNAMIC phdr. Fix this by checking whether
    gelf_phdr returns NULL.

              * src/readelf.c (handle_dynamic_symtab): Check whether
              gelf_getphdr returns NULL.

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

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

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

Reply via email to