* 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:
sam 2003-09-07 13:12:27 +00:00
parent 53725cc25f
commit 71bbf51abf
1 changed files with 1 additions and 1 deletions

View File

@ -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