mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
Backported fixes
This commit is contained in:
@@ -15,7 +15,7 @@ def get_fchunk_referer(ea, idx):
|
||||
static ea_t get_fchunk_referer(ea_t ea, size_t idx)
|
||||
{
|
||||
func_t *pfn = get_fchunk(ea);
|
||||
if ( pfn == NULL )
|
||||
if ( !is_func_tail(pfn) )
|
||||
return BADADDR;
|
||||
func_parent_iterator_t dummy(pfn); // read referer info
|
||||
if ( idx >= pfn->refqty || pfn->referers == NULL )
|
||||
|
||||
Reference in New Issue
Block a user