[Pkg-fonts-bugs] Bug#387451: [Fontforge-devel] Bug#387451: fontforge: Segfaults when home directory doesn't exist/is non-writable

George Williams gww at silcom.com
Thu Sep 14 23:59:52 UTC 2006


On Thu, 2006-09-14 at 11:36, Kęstutis Biliūnas wrote:
> > # fontforge 
> > Copyright (c) 2000-2006 by George Williams.
> >  Executable based on sources from 08:15 22-Aug-2006.
> > Segmentation fault
> > # mkdir $HOME
> > # fontforge -version
> > Copyright (c) 2000-2006 by George Williams.
> >  Executable based on sources from 08:15 22-Aug-2006.

-------------- next part --------------
--- namelist.c~	2006-09-14 16:56:29.000000000 -0700
+++ namelist.c	2006-09-14 16:56:29.000000000 -0700
@@ -690,6 +690,8 @@
 
     if ( dir == NULL )
 	dir = getPfaEditDir(prefdir);
+    if ( dir == NULL )
+return;
 
     diro = opendir(dir);
     if ( diro==NULL )		/* It's ok not to have any */


More information about the Pkg-fonts-bugs mailing list