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:
parent
1d1e8f3ba7
commit
ca11999d9d
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue