diff --git a/src/stub/l_lx_elf.c b/src/stub/l_lx_elf.c index 01344810..68b634dc 100644 --- a/src/stub/l_lx_elf.c +++ b/src/stub/l_lx_elf.c @@ -392,11 +392,11 @@ void *upx_main( Elf32_Addr reloc; Elf32_Addr entry; - (void)junk; - // sizeof(Ehdr+Phdrs), compressed; including b_info header size_t const sz_pckhdrs = xi.size; + (void)junk; + // Uncompress Ehdr and Phdrs. unpackExtent(&xi, &xo, f_decompress, 0);