module->addr_sorttab may be NULL due to a hack in
elf_new_wine_thunks.
This commit is contained in:
parent
fbce110be4
commit
1e268017d1
|
@ -612,7 +612,10 @@ int symt_find_nearest(struct module* module, DWORD addr)
|
|||
int mid, high, low;
|
||||
DWORD ref_addr, ref_size;
|
||||
|
||||
if (!module->sortlist_valid && !resort_symbols(module)) return -1;
|
||||
if (!module->sortlist_valid || !module->addr_sorttab)
|
||||
{
|
||||
if (!resort_symbols(module)) return -1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Binary search to find closest symbol.
|
||||
|
|
Loading…
Reference in New Issue