]> git.ipfire.org Git - thirdparty/elfutils.git/commit
elfcmp: Handle bad sections without crashing.
authorMark Wielaard <mark@klomp.org>
Sun, 28 Apr 2019 15:06:50 +0000 (17:06 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 28 Apr 2019 15:06:50 +0000 (17:06 +0200)
commitb3383bb128c6984d49542951bffa15d3decc7ec0
treed7982aac3ec8ad3cdfb359e8b583bad9adc9ab05
parent7190c2043152477b720e204166d0690da9c7b913
elfcmp: Handle bad sections without crashing.

If we cannot get the Shdr of a section then don't try to use or
compare them.

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/elfcmp.c