diff options
author | Derek Wang <derek.wang@sun.com> | 2008-08-21 16:06:51 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-08-21 16:06:51 -0700 |
commit | 624b7a507cdea25cec0728b4679610df3fb3097c (patch) | |
tree | cc2e662e6d006e51b0acb97d850ab3a0fec36e17 /src/fontfile | |
parent | 684c000e57f30344777cf763f2f1b540ef008b38 (diff) |
Sun bug 4510977: dtremote fails to start session
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4510977>
Diffstat (limited to 'src/fontfile')
-rw-r--r-- | src/fontfile/fontdir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fontfile/fontdir.c b/src/fontfile/fontdir.c index cd9fde1..00c7511 100644 --- a/src/fontfile/fontdir.c +++ b/src/fontfile/fontdir.c @@ -457,6 +457,8 @@ FontFileFindNameInScalableDir(FontTablePtr table, FontNamePtr pat, private; FontNamePtr name; + if (!table->entries) + return NULL; if ((i = SetupWildMatch(table, pat, &start, &stop, &private)) >= 0) return &table->entries[i]; for (i = start; i < stop; i++) { |