From 5eb81c0ec4419a0ca16f98a8f0277bc297a3e4db Mon Sep 17 00:00:00 2001 From: John Reiser Date: Thu, 16 Jan 2003 22:21:44 +0000 Subject: [PATCH] omit unfilter when .b_ftid==0 committer: jreiser 1042755704 +0000 --- src/stub/l_lx_elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stub/l_lx_elf.c b/src/stub/l_lx_elf.c index 59618d8e..c04e845c 100644 --- a/src/stub/l_lx_elf.c +++ b/src/stub/l_lx_elf.c @@ -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 ) {