elfcompress: Add sanity checks to make sure to not override variable
authorMark Wielaard <mark@klomp.org>
Tue, 10 May 2022 10:31:04 +0000 (12:31 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 14 May 2022 13:08:47 +0000 (15:08 +0200)
commitf35268b20ac2172e3801851460d1a569615cdfab
tree390924ea07f7139edd3058abbda033fa736aa2e5
parent5beca45e639f153ed08109dc904cd9bc74e094e8
elfcompress: Add sanity checks to make sure to not override variable

The process_file code is a little tricky. Add sanity checks to make
sure shstrtab_name, shstrtab_newname and symstrents are only set once.

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