Mike FABIAN
2006-Oct-16 08:28 UTC
[Fontconfig] fc-cache loops when cyclic symlinks in fontdirectories exist
fc-cache loops when cyclic symlinks in fontdirectories exist Example: mfabian@magellan:~$ ll /usr/share/fonts/ttt lrwxrwxrwx 1 root root 16 10? 11 16:20 /usr/share/fonts/ttt -> /usr/share/fonts/ mfabian@magellan:~$ This causes fc-cache too loop endlessly. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian ?????????????
Mike FABIAN
2006-Oct-16 08:33 UTC
[Fontconfig] Re: fc-cache loops when cyclic symlinks in fontdirectories exist
Mike FABIAN <mfabian@suse.de> ????????:> fc-cache loops when cyclic symlinks in fontdirectories existI forgot the version number, it is fontconfig 2.4.1.> Example: > > mfabian@magellan:~$ ll /usr/share/fonts/ttt > lrwxrwxrwx 1 root root 16 10? 11 16:20 /usr/share/fonts/ttt -> /usr/share/fonts/ > mfabian@magellan:~$ > > This causes fc-cache too loop endlessly.-- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian ?????????????
Keith Packard
2006-Oct-19 23:24 UTC
[Fontconfig] Re: fc-cache loops when cyclic symlinks in fontdirectories exist
On Mon, 2006-10-16 at 17:33 +0200, Mike FABIAN wrote:> > fc-cache loops when cyclic symlinks in fontdirectories exist> > mfabian@magellan:~$ ll /usr/share/fonts/ttt > > lrwxrwxrwx 1 root root 16 10? 11 16:20 /usr/share/fonts/ttt -> /usr/share/fonts/ > > mfabian@magellan:~$Yeah, don''t do that. We could refuse to traverse symlinks which pointed at a directory already scanned. -- keith.packard@intel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20061020/944a6389/attachment.pgp
Mike FABIAN
2006-Oct-23 01:31 UTC
[Fontconfig] Re: fc-cache loops when cyclic symlinks in fontdirectories exist
Keith Packard <keithp@keithp.com> ????????:> On Mon, 2006-10-16 at 17:33 +0200, Mike FABIAN wrote: > >> > fc-cache loops when cyclic symlinks in fontdirectories exist > >> > mfabian@magellan:~$ ll /usr/share/fonts/ttt >> > lrwxrwxrwx 1 root root 16 10? 11 16:20 /usr/share/fonts/ttt -> /usr/share/fonts/ >> > mfabian@magellan:~$ > > Yeah, don''t do that. We could refuse to traverse symlinks which pointed > at a directory already scanned.I think something should be done to avoid an endless loop in that case. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian ?????????????