mirror of
https://github.com/reactos/wine.git
synced 2025-02-01 17:53:25 +00:00
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;
|
int mid, high, low;
|
||||||
DWORD ref_addr, ref_size;
|
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.
|
* Binary search to find closest symbol.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user