]> git.ipfire.org Git - thirdparty/elfutils.git/commit
unstrip: Add various checks for bad input data.
authorMark Wielaard <mark@klomp.org>
Mon, 21 Oct 2019 08:55:32 +0000 (10:55 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 26 Oct 2019 00:01:19 +0000 (02:01 +0200)
commit90f4bb30381b0354b8b40cd09e68005713bfd69a
tree8f046b3ba0a611b2fea245731dbbf7a496e533e7
parente9d4067a15eb100c0598a9895567aac6e9ed6a10
unstrip: Add various checks for bad input data.

There were various ways to crash eu-unstrip with bad ELF input
data. Add various tests against bad data and allocate some structures
on the heap instead of on the stack.

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

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