]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf: Break sysv[64] symbol hash bucket chain loops.
authorMark Wielaard <mark@klomp.org>
Wed, 28 Mar 2018 19:27:48 +0000 (21:27 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 30 Mar 2018 20:42:44 +0000 (22:42 +0200)
commit560145d2b49347e92f4a265c3c3dbcae164ed9df
tree0cd9c9a516ffd914aab864933723276e9df5aace
parentafffdff29228db03e2131af577f58a22aec6c1fe
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>
src/ChangeLog
src/readelf.c