diff --git a/src/stab.c b/src/stab.c index df08f19..71541ff 100644 --- a/src/stab.c +++ b/src/stab.c @@ -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