Commit 1e268017 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

module->addr_sorttab may be NULL due to a hack in

elf_new_wine_thunks.
parent fbce110b
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment