* Fixed a crash for symbols found in the list but that dlopen() could not
properly load. git-svn-id: svn://svn.zoy.org/elk/trunk@120 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
53725cc25f
commit
71bbf51abf
|
@ -108,7 +108,7 @@ void Call_Initializers (SYMTAB *tab, char *addr, int which) {
|
|||
;
|
||||
|
||||
for (sp = tab->first; sp; sp = sp->next) {
|
||||
if ((char *)sp->value < addr)
|
||||
if (!sp->value || (char *)sp->value < addr)
|
||||
continue;
|
||||
p = sp->name;
|
||||
#ifdef SYMS_BEGIN_WITH
|
||||
|
|
Loading…
Reference in New Issue