[Bug tools/23011] Infinite loop in handle_sysv_hash (src/readelf.c)

mark at klomp dot org sourceware-bugzilla@sourceware.org
Fri Mar 30 20:44:00 GMT 2018


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

Mark Wielaard <mark at klomp dot org> changed:

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

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Mark Wielaard from comment #2)
> Proposed fix: https://sourceware.org/ml/elfutils-devel/2018-q1/msg00118.html

commit 560145d2b49347e92f4a265c3c3dbcae164ed9df
Author: Mark Wielaard <mark@klomp.org>
Date:   Wed Mar 28 21:27:48 2018 +0200

    readelf: Break sysv[64] symbol hash bucket chain loops.

    The bucket chain should not contain loops. If it does we should mark the
    hash bucket chain as invalid. This is easily checked by noticing when we
    have seen more than the number of chain elements. Which equals the max
    number as symbols in the table.

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

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

Pushed to master.

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


More information about the Elfutils-devel mailing list