mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
omit unfilter when .b_ftid==0
committer: jreiser <jreiser> 1042755704 +0000
This commit is contained in:
parent
f92b617c43
commit
5eb81c0ec4
|
|
@ -155,7 +155,7 @@ ERR_LAB
|
|||
if (j != 0 || out_len != (nrv_uint)h.sz_unc)
|
||||
err_exit(7);
|
||||
// Skip Ehdr+Phdrs: separate 1st block, not filtered
|
||||
if (f_unf // have filter
|
||||
if (h.b_ftid!=0 && f_unf // have filter
|
||||
&& ((512 < out_len) // this block is longer than Ehdr+Phdrs
|
||||
|| (xo->size==(unsigned)h.sz_unc) ) // block is last in Extent
|
||||
) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user