[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/24689] Heap-buffer-overflow in _bfd_doprnt in bfd.c in bfd

From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24689] Heap-buffer-overflow in _bfd_doprnt in bfd.c in bfd
Date: Fri, 21 Jun 2019 07:16:09 +0000


--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:


commit 890f750a3b053532a4b839a2dd6243076de12031
Author: Alan Modra <address@hidden>
Date:   Fri Jun 21 11:51:38 2019 +0930

    PR24689, string table corruption

    The testcase in the PR had a e_shstrndx section of type SHT_GROUP.
    hdr->contents were initialized by setup_group rather than being read
    from the file, thus last byte was not zero and string dereference ran
    off the end of the buffer.

        PR 24689
        * elfcode.h (elf_object_p): Check type of e_shstrndx section.

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]