1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-23 16:07:37 +01:00

(UPTi_find_unwind_table): Drop bogus range-check.

(Logical change 1.120)
This commit is contained in:
hp.com!davidm 2003-11-22 06:29:32 +00:00
parent 1d1e8f3ba7
commit ca11999d9d

View file

@ -130,11 +130,7 @@ _UPTi_find_unwind_table (struct UPT_info *ui, unw_addr_space_t as,
break;
}
}
if (!ptxt || !punw
/* Verify that the segment that contains the IP also contains
the static unwind table. If not, we are dealing with
runtime-generated code, for which we have no info here. */
|| (punw->p_vaddr - ptxt->p_vaddr) >= ptxt->p_memsz)
if (!ptxt || !punw)
return NULL;
ui->di_cache.start_ip = segbase;