diff options
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/gprof.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c index 9cf6447..94f7f98 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -688,6 +688,9 @@ funcsymbol( symp ) * where `funny' includes `.', .o file names * and `$', pascal labels. */ + if (!symp->name) + return FALSE; + for (name = symp->name; *name; name++) { if ( *name == '.' || *name == '$' ) { return FALSE; |