[Bug libelf/28666] memmove() reads out-of-range in elf32_xlatetom

mark at klomp dot org sourceware-bugzilla@sourceware.org
Thu Dec 9 19:08:01 GMT 2021


Mark Wielaard <mark at klomp dot org> changed:

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

--- Comment #7 from Mark Wielaard <mark at klomp dot org> ---
Could you open a new bug report for the issue in comment #6?

It is indeed a different issue, although very similar to this one.
I can probably create a fix just from that backtrace, but having a reproducer
would be great.

Thanks for testing, pushed as:

commit 809f2d70ec770d512cf6b1e70a67f5eb84c4508c
Author: Mark Wielaard <mark@klomp.org>
Date:   Wed Dec 8 13:39:47 2021 +0100

    libdwfl: Don't try to convert too many bytes in dwfl_link_map_report

    When trying to read (corrupt) phdrs from a core file we only want
    to read and convert the bytes we could read. Also make sure we don't
    try to allocate too big buffers.


    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