<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Make fontconfig cache relocatable"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101889#c81">Comment # 81</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Make fontconfig cache relocatable"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101889">bug 101889</a>
              from <span class="vcard"><a class="email" href="mailto:freedesktop@behdad.org" title="Behdad Esfahbod <freedesktop@behdad.org>"> <span class="fn">Behdad Esfahbod</span></a>
</span></b>
        <pre>Fontconfig master is crashing for me now, with some font lookups but not
always, in like 656:

651                     while (l->value.type != FcTypeString)
652                         l = FcValueListNext (l);
653                     if (!l)
654                         goto bail0;
655                     dir = FcStrDirname (FcValueString (&l->value));
656                     if (FcHashTableFind (config->alias_table, dir, (void
**) &alias))
657                     {
658                         FcChar8 *base = FcStrBasename (FcValueString
(&l->value));
659                         FcChar8 *s = FcStrBuildFilename (alias, base,
NULL);
660                         FcValue v;
(gdb) 

Apparently config is NULL but config->alias_table accessed.

I also find it bizarre that fcmatch.c has directory name manipulation code now.
 This should have been refactored somewhere else ideally.

Thanks.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>